2015-01-18 16:11:30 -10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-09-25 08:32:45 -07:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
2020-01-15 16:13:28 +11:00
|
|
|
android:background="@drawable/default_session_background"
|
2017-09-25 08:32:45 -07:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2015-01-18 16:11:30 -10:00
|
|
|
|
2017-09-25 08:32:45 -07:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
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"/>
|
|
|
|
|
|
|
|
</android.support.design.widget.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
|
|
|
|
2017-09-25 08:32:45 -07:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|