2015-01-18 16:11:30 -10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-19 10:06:26 +10:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2017-09-25 08:32:45 -07:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2015-01-18 16:11:30 -10:00
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2017-09-25 08:32:45 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2017-09-25 08:32:45 -07:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?android:attr/actionBarSize"
|
2020-01-15 16:13:28 +11:00
|
|
|
style="@style/Session.DarkActionBar"
|
2017-09-25 08:32:45 -07:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"/>
|
|
|
|
|
2018-09-27 09:47:08 -07:00
|
|
|
<org.thoughtcrime.securesms.components.ControllableTabLayout
|
2017-09-25 08:32:45 -07:00
|
|
|
android:id="@+id/tab_layout"
|
2015-01-18 16:11:30 -10:00
|
|
|
android:layout_width="match_parent"
|
2017-09-25 08:32:45 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
2020-01-15 16:13:28 +11:00
|
|
|
style="@style/Session.DarkTabLayout"
|
2018-03-28 16:45:29 -07:00
|
|
|
android:background="?attr/media_overview_toolbar_background"
|
2017-09-25 08:32:45 -07:00
|
|
|
app:tabBackground="?attr/media_overview_toolbar_background"
|
|
|
|
app:tabIndicatorColor="@color/textsecure_primary"
|
|
|
|
app:tabSelectedTextColor="@color/textsecure_primary"/>
|
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2015-01-18 16:11:30 -10:00
|
|
|
|
2018-09-27 09:47:08 -07:00
|
|
|
<org.thoughtcrime.securesms.components.ControllableViewPager
|
2017-09-25 08:32:45 -07:00
|
|
|
android:id="@+id/pager"
|
2015-01-18 16:11:30 -10:00
|
|
|
android:layout_width="match_parent"
|
2016-09-07 21:26:34 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-09-25 08:32:45 -07:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
2015-01-18 16:11:30 -10:00
|
|
|
|
2020-08-19 10:06:26 +10:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|