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

57 lines
2.9 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"
2021-06-10 18:21:42 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
2021-04-30 17:20:15 +00:00
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-06-10 18:21:42 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/nav_view"
android:id="@+id/cast_mini_controller_holder"
>
<fragment
app:castControlButtons="@array/cast_mini_controller_control_buttons"
android:id="@+id/cast_mini_controller"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment"
tools:ignore="FragmentTagUsage">
</fragment>
</LinearLayout>
2021-05-16 18:28:00 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
</FrameLayout>