|
@ -17,30 +17,28 @@ |
|
|
<LinearLayout |
|
|
<LinearLayout |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:orientation="horizontal" |
|
|
android:gravity="center_vertical" |
|
|
> |
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
<ImageView |
|
|
<androidx.appcompat.widget.Toolbar |
|
|
android:id="@+id/main_activity_open_drawer_btn" |
|
|
android:id="@+id/toolbar" |
|
|
android:layout_width="35dp" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="?attr/actionBarSize" |
|
|
android:layout_gravity="center_vertical" |
|
|
android:background="?attr/colorPrimary" |
|
|
android:layout_margin="2sp" |
|
|
app:contentInsetStartWithNavigation="0dp" |
|
|
android:layout_marginStart="2sp" |
|
|
app:popupTheme="@style/ToolbarTheme"/> |
|
|
android:contentDescription="@string/drawer_button_cnt_desc" |
|
|
|
|
|
app:srcCompat="@drawable/ic_hamburger" /> |
|
|
|
|
|
|
|
|
|
|
|
<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> |
|
|
</LinearLayout> |
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
|
|
|
|
@ -48,5 +46,5 @@ |
|
|
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> |
|
|