cloudstream/app/src/main/res/layout/activity_main.xml

42 lines
2 KiB
XML
Raw Normal View History

2021-04-30 17:20:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
2021-05-16 18:28:00 +00:00
<FrameLayout
2021-04-30 17:20:15 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
2021-05-16 18:28:00 +00:00
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
2021-04-30 17:20:15 +00:00
android:paddingTop="0dp">
2021-05-16 18:28:00 +00:00
<FrameLayout
2021-04-30 17:20:15 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2021-05-16 18:28:00 +00:00
android:id="@+id/homeRoot"
>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_height="match_parent"
android:layout_width="match_parent">
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/nav_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/darkBackground"
app:itemRippleColor="@color/colorRipple"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:menu="@menu/bottom_nav_menu"
app:layout_constraintBottom_toBottomOf="parent"/>
<fragment
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintBottom_toTopOf="@+id/nav_view"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/mobile_navigation"
app:layout_constraintEnd_toEndOf="parent"/>
2021-04-30 17:20:15 +00:00
2021-05-16 18:28:00 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
</FrameLayout>