mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
54 lines
No EOL
2.1 KiB
XML
54 lines
No EOL
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/nav_host_fragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:defaultNavHost="true"
|
|
app:navGraph="@navigation/nav_graph" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/player_bottom_sheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:behavior_hideable="true"
|
|
app:behavior_peekHeight="@dimen/bottom_sheet_peek_height"
|
|
app:layout_behavior="@string/bottom_sheet_behavior" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
android:id="@+id/bottom_navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:background="@drawable/bottom_nav_shape"
|
|
android:visibility="gone"
|
|
app:itemIconTint="@drawable/bottom_nav_selector"
|
|
app:labelVisibilityMode="unlabeled"
|
|
app:menu="@menu/bottom_nav_menu" />
|
|
|
|
<TextView
|
|
android:id="@+id/offline_mode_text_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorAccent"
|
|
android:gravity="center"
|
|
android:text="Offline mode"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="6sp"
|
|
android:visibility="gone" />
|
|
</LinearLayout> |