2014-08-12 12:11:23 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2018-11-08 23:33:37 -08:00
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-21 15:06:39 +10:00
|
|
|
android:layout_height="match_parent">
|
2014-08-12 12:11:23 -07:00
|
|
|
|
2018-01-18 10:16:35 -08:00
|
|
|
<org.thoughtcrime.securesms.components.viewpager.HackyViewPager
|
2018-11-08 23:33:37 -08:00
|
|
|
android:id="@+id/media_pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_preview_details_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:background="@drawable/image_shade"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:animateLayoutChanges="true">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.MaxHeightScrollView
|
|
|
|
android:id="@+id/media_preview_caption_container"
|
2016-11-26 12:10:14 -08:00
|
|
|
android:layout_width="match_parent"
|
2018-11-08 23:33:37 -08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="32dp"
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
app:scrollView_maxHeight="120dp">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/media_preview_caption"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2018-11-08 23:33:37 -08:00
|
|
|
android:paddingBottom="8dp"
|
|
|
|
style="@style/Signal.Text.Body"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
android:gravity="bottom"
|
|
|
|
tools:text="With great power comes great responsibility." />
|
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.components.MaxHeightScrollView>
|
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-11-08 23:33:37 -08:00
|
|
|
android:id="@+id/media_preview_album_rail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
2018-11-08 23:33:37 -08:00
|
|
|
tools:layout_height="64dp"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/media_preview_playback_controls_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:animateLayoutChanges="true"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-11-26 12:10:14 -08:00
|
|
|
|
2018-01-04 11:11:49 -08:00
|
|
|
</FrameLayout>
|