42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="@color/colorPrimary"
|
|
app:navigationIcon="?attr/homeAsUpIndicator"
|
|
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
|
app:popupTheme="@style/My.PopupOverlay"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background_primary"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/address_book_pager_tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorPrimary"
|
|
android:minHeight="?attr/actionBarSize"
|
|
app:tabMode="fixed"
|
|
app:tabGravity="fill"
|
|
app:tabIndicatorColor="@android:color/white"/>
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/address_book_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:background="@color/background_secondary" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |