2020-11-20 15:38:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-27 11:05:58 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-11-20 15:38:08 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:orientation="vertical">
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2020-12-05 21:31:12 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
|
android:id="@+id/drawer_layout"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-12-05 21:31:12 +01:00
|
|
|
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"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:navGraph="@navigation/nav_graph" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
|
|
|
|
<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"
|
2022-01-10 12:47:17 +01:00
|
|
|
app:layout_behavior="@string/bottom_sheet_behavior"/>
|
2020-12-05 21:31:12 +01:00
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
|
android:id="@+id/bottom_navigation"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-01 17:16:38 +02:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingEnd="24dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:visibility="gone"
|
2021-04-27 11:05:58 +02:00
|
|
|
app:menu="@menu/bottom_nav_menu" />
|
2020-11-30 20:54:05 +01:00
|
|
|
|
2020-12-05 21:31:12 +01:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/offline_mode_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:text="@string/activity_info_offline_mode"
|
2021-04-27 11:47:23 +02:00
|
|
|
android:textSize="6sp"
|
2022-01-10 12:47:17 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
|
style="@style/NoConnectionTextView"/>
|
2020-12-05 21:31:12 +01:00
|
|
|
</LinearLayout>
|