blob: 0256e74bed13efd186f710f8dd78a3924f2c0622 [file] [log] [blame]
Adrien Béraudae45ffa2018-07-06 16:21:29 -04001<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:app="http://schemas.android.com/apk/res-auto"
5 xmlns:tools="http://schemas.android.com/tools"
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 android:orientation="vertical">
9
Adrien Béraud91f88742019-09-09 00:46:46 -040010 <com.google.android.material.appbar.MaterialToolbar
Adrien Béraudae45ffa2018-07-06 16:21:29 -040011 android:id="@+id/toolbar"
Adrien Béraud91f88742019-09-09 00:46:46 -040012 style="@style/Widget.MaterialComponents.Toolbar.Surface"
Adrien Béraudae45ffa2018-07-06 16:21:29 -040013 android:layout_width="match_parent"
14 android:layout_height="wrap_content"
Adrien Béraud91f88742019-09-09 00:46:46 -040015 android:elevation="0dp"
16 android:minHeight="?attr/actionBarSize" />
Adrien Béraudae45ffa2018-07-06 16:21:29 -040017
18 <FrameLayout
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Rayan Osseiran8a56d362019-06-07 17:03:37 -040021 android:focusableInTouchMode="true"
Adrien Béraudae45ffa2018-07-06 16:21:29 -040022 android:elevation="2dp">
23
24 <EditText
25 android:id="@+id/previewText"
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
Rayan Osseiran8a56d362019-06-07 17:03:37 -040028 android:layout_marginLeft="10dp"
29 android:layout_marginTop="10dp"
30 android:layout_marginRight="10dp"
31 android:layout_marginBottom="10dp"
Adrien Béraudae45ffa2018-07-06 16:21:29 -040032 android:background="@null"
Rayan Osseiran8a56d362019-06-07 17:03:37 -040033 android:inputType="textMultiLine"
Adrien Béraudae45ffa2018-07-06 16:21:29 -040034 android:singleLine="false"
Adrien Béraud91f88742019-09-09 00:46:46 -040035 android:textColor="@color/textColorPrimary"
Adrien Béraudae45ffa2018-07-06 16:21:29 -040036 android:visibility="gone"
37 tools:text="Test text message" />
38
39 <ImageView
40 android:id="@+id/previewImage"
41 android:layout_width="match_parent"
42 android:layout_height="@dimen/share_preview_height"
43 android:layout_margin="8dp"
44 android:visibility="gone"
45 tools:visibility="visible" />
46
47 <cx.ring.views.PreviewVideoView
48 android:id="@+id/previewVideo"
49 android:layout_width="match_parent"
50 android:layout_height="@dimen/share_preview_height"
51 android:layout_gravity="center_horizontal"
52 android:layout_margin="8dp"
53 android:visibility="gone" />
54
55 </FrameLayout>
56
Rayan Osseiran8a56d362019-06-07 17:03:37 -040057 <View
58 android:id="@+id/divider"
59 android:layout_width="match_parent"
60 android:layout_height="2dp"
61 android:background="?android:attr/listDivider" />
62
Adrien Béraud8bc95102018-08-25 22:34:51 -040063 <androidx.recyclerview.widget.RecyclerView
Adrien Béraudae45ffa2018-07-06 16:21:29 -040064 android:id="@+id/shareList"
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
67 android:clipToPadding="false"
68 android:paddingTop="8dp"
69 app:layoutManager="LinearLayoutManager"
70 tools:context=".fragments.ShareWithFragment"
71 tools:listitem="@layout/item_smartlist" />
72
73</LinearLayout>