mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
dd37adee5c
Bottom sheet style unified.
40 lines
1.8 KiB
XML
40 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
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">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:attr/actionBarSize"
|
|
style="@style/Session.DarkActionBar"
|
|
app:layout_scrollFlags="scroll|enterAlways"/>
|
|
|
|
<org.thoughtcrime.securesms.components.ControllableTabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
style="@style/Session.DarkTabLayout"
|
|
android:background="?attr/media_overview_toolbar_background"
|
|
app:tabBackground="?attr/media_overview_toolbar_background"
|
|
app:tabIndicatorColor="@color/textsecure_primary"
|
|
app:tabSelectedTextColor="@color/textsecure_primary"/>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<org.thoughtcrime.securesms.components.ControllableViewPager
|
|
android:id="@+id/pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|