blob: 0256e74bed13efd186f710f8dd78a3924f2c0622 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
style="@style/Widget.MaterialComponents.Toolbar.Surface"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0dp"
android:minHeight="?attr/actionBarSize" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusableInTouchMode="true"
android:elevation="2dp">
<EditText
android:id="@+id/previewText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="10dp"
android:background="@null"
android:inputType="textMultiLine"
android:singleLine="false"
android:textColor="@color/textColorPrimary"
android:visibility="gone"
tools:text="Test text message" />
<ImageView
android:id="@+id/previewImage"
android:layout_width="match_parent"
android:layout_height="@dimen/share_preview_height"
android:layout_margin="8dp"
android:visibility="gone"
tools:visibility="visible" />
<cx.ring.views.PreviewVideoView
android:id="@+id/previewVideo"
android:layout_width="match_parent"
android:layout_height="@dimen/share_preview_height"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
android:visibility="gone" />
</FrameLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="?android:attr/listDivider" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/shareList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingTop="8dp"
app:layoutManager="LinearLayoutManager"
tools:context=".fragments.ShareWithFragment"
tools:listitem="@layout/item_smartlist" />
</LinearLayout>