2022-09-30 09:42:06 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-10-05 16:10:28 -04:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-10-03 15:10:30 -04:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-10-25 15:22:38 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-09-30 09:42:06 -04:00
|
|
|
android:layout_width="match_parent"
|
2022-10-03 15:10:30 -04:00
|
|
|
android:layout_height="match_parent"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:background="@color/signal_dark_colorSurface">
|
|
|
|
|
2022-10-05 16:10:28 -04:00
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
android:id="@+id/media_pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
2023-01-04 09:05:30 -05:00
|
|
|
android:focusable="true"
|
|
|
|
android:layoutDirection="ltr" />
|
2022-10-05 16:10:28 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_preview_details_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-04 13:13:14 -04:00
|
|
|
android:alpha="0"
|
|
|
|
android:animateLayoutChanges="false"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:background="@color/signal_dark_colorSurface_87"
|
2022-10-05 16:10:28 -04:00
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="vertical"
|
2023-01-04 09:05:30 -05:00
|
|
|
android:visibility="invisible"
|
2022-10-05 16:10:28 -04:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
2023-01-24 09:11:29 -05:00
|
|
|
<org.thoughtcrime.securesms.mediapreview.caption.ExpandingCaptionView
|
2022-10-21 17:31:50 -04:00
|
|
|
android:id="@+id/media_preview_caption"
|
2022-10-25 15:22:38 -04:00
|
|
|
style="@style/Signal.Text.Body"
|
2022-10-05 16:10:28 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:gravity="bottom"
|
2022-10-21 17:31:50 -04:00
|
|
|
android:paddingStart="16dp"
|
2023-02-03 12:58:32 -05:00
|
|
|
android:paddingTop="16dp"
|
2022-10-21 17:31:50 -04:00
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
tools:text="With great power comes great responsibility." />
|
2022-10-05 16:10:28 -04:00
|
|
|
|
2022-10-25 15:22:38 -04:00
|
|
|
<org.thoughtcrime.securesms.mediapreview.MediaPreviewPlayerControlView
|
|
|
|
android:id="@+id/media_preview_playback_controls"
|
2022-10-05 16:10:28 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:animateLayoutChanges="true"
|
2023-02-03 12:58:32 -05:00
|
|
|
android:background="@color/transparent"
|
|
|
|
android:paddingTop="8dp" />
|
2022-10-05 16:10:28 -04:00
|
|
|
|
|
|
|
</LinearLayout>
|
2022-10-25 15:22:38 -04:00
|
|
|
|
2022-10-03 15:10:30 -04:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/toolbar_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:background="@color/signal_dark_colorSurface_87"
|
2022-10-03 15:10:30 -04:00
|
|
|
app:elevation="0dp">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/toolbar_cutout_spacer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2022-10-05 16:10:28 -04:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2022-10-03 15:10:30 -04:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2023-02-15 14:10:18 -04:00
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
2022-10-05 16:10:28 -04:00
|
|
|
android:background="@android:color/transparent"
|
2023-02-15 14:10:18 -04:00
|
|
|
android:minHeight="@dimen/signal_m3_toolbar_height"
|
2022-10-25 15:22:38 -04:00
|
|
|
android:theme="?actionBarStyle"
|
2022-10-05 16:10:28 -04:00
|
|
|
app:navigationIcon="@drawable/ic_arrow_left_white_24" />
|
2022-10-03 15:10:30 -04:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2022-10-05 16:10:28 -04:00
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|