|
|
@ -14,16 +14,32 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:theme="@style/ToolbarTheme"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar |
|
|
|
android:id="@+id/toolbar" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="?attr/actionBarSize" |
|
|
|
android:background="?attr/colorPrimary" |
|
|
|
app:contentInsetStartWithNavigation="0dp" |
|
|
|
app:popupTheme="@style/ToolbarTheme"/> |
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout |
|
|
|
android:id="@+id/tabs" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_weight="1.0" |
|
|
|
app:tabMaxWidth="0dp" |
|
|
|
app:tabGravity="fill" |
|
|
|
app:tabMode="fixed" |
|
|
|
app:tabSelectedTextColor="@color/accent" |
|
|
|
app:tabTextColor="@color/white" |
|
|
|
app:tabIconTint="@color/activity_main_tabs_selector" /> |
|
|
|
</LinearLayout> |
|
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager |
|
|
|