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

55 lines
2.7 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-07-29 01:46:10 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/homeRoot"
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:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
2021-04-30 17:20:15 +00:00
android:paddingTop="0dp">
2021-07-29 01:46:10 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
2021-04-30 17:20:15 +00:00
android:layout_height="match_parent"
2021-07-29 01:46:10 +00:00
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"
2021-08-06 20:55:11 +00:00
android:background="?attr/darkBackground"
2021-09-19 20:33:39 +00:00
app:labelVisibilityMode="labeled"
2021-05-16 18:28:00 +00:00
2021-07-29 01:46:10 +00:00
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"/>
<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"
>
<!--com.google.android.gms.cast.framework.media.widget.MiniControllerFragment-->
2021-05-16 18:28:00 +00:00
<fragment
2021-07-29 01:46:10 +00:00
app:customCastBackgroundColor="?attr/darkBackground"
app:castControlButtons="@array/cast_mini_controller_control_buttons"
android:id="@+id/cast_mini_controller"
2021-06-10 18:21:42 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-07-29 01:46:10 +00:00
android:visibility="gone"
class="com.lagradost.cloudstream3.ui.MyMiniControllerFragment"
tools:ignore="FragmentTagUsage">
</fragment>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
2021-05-16 18:28:00 +00:00
</FrameLayout>