|
@ -14,21 +14,37 @@ |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:theme="@style/ToolbarTheme"> |
|
|
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 |
|
|
<com.google.android.material.tabs.TabLayout |
|
|
android:id="@+id/tabs" |
|
|
android:id="@+id/tabs" |
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
|
android:layout_weight="1.0" |
|
|
app:tabMaxWidth="0dp" |
|
|
app:tabMaxWidth="0dp" |
|
|
app:tabGravity="fill" |
|
|
app:tabGravity="fill" |
|
|
app:tabMode="fixed" |
|
|
app:tabMode="fixed" |
|
|
app:tabSelectedTextColor="@color/accent" |
|
|
app:tabSelectedTextColor="@color/accent" |
|
|
app:tabTextColor="@color/white" |
|
|
app:tabTextColor="@color/white" |
|
|
app:tabIconTint="@color/activity_main_tabs_selector" /> |
|
|
app:tabIconTint="@color/activity_main_tabs_selector" /> |
|
|
|
|
|
</LinearLayout> |
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager |
|
|
<androidx.viewpager.widget.ViewPager |
|
|
android:id="@+id/container" |
|
|
android:id="@+id/container" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/> |
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|
|