mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-29 11:17:47 +00:00
5dc5503896
In landscape, you'd see that the tabs were a different color from the toolbar. This has been corrected so they're all the same color now. Fixes #7578 Closes #7579
40 lines
1.8 KiB
XML
40 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.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">
|
|
|
|
<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"
|
|
android:background="?attr/media_overview_toolbar_background"
|
|
android:titleTextColor="?attr/media_overview_toolbar_foreground"
|
|
app:layout_scrollFlags="scroll|enterAlways"/>
|
|
|
|
<android.support.design.widget.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:background="?attr/media_overview_toolbar_background"
|
|
app:tabBackground="?attr/media_overview_toolbar_background"
|
|
app:tabIndicatorColor="@color/textsecure_primary"
|
|
app:tabSelectedTextColor="@color/textsecure_primary"/>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|