AquaStream/app/src/main/res/layout/activity_main_tv.xml

64 lines
3.2 KiB
XML
Raw Normal View History

2021-10-30 18:14:12 +00:00
<?xml version="1.0" encoding="utf-8"?>
2022-01-29 18:57:19 +00:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-10-30 18:14:12 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/homeRoot"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|keyboard|navigation"
android:paddingTop="0dp">
2022-01-29 18:57:19 +00:00
2021-10-30 18:14:12 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_height="match_parent"
android:layout_width="match_parent">
2022-01-29 18:57:19 +00:00
2022-04-22 18:53:58 +00:00
<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="0dp"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="parent"
app:layout_constraintBottom_toTopOf="@id/cast_mini_controller_holder"
app:navGraph="@navigation/mobile_navigation"
app:layout_constraintStart_toEndOf="@id/nav_rail_view"
app:layout_constraintEnd_toEndOf="parent" />
2021-11-25 17:26:14 +00:00
<com.google.android.material.navigationrail.NavigationRailView
android:layout_width="62dp"
2021-11-25 17:26:14 +00:00
android:layout_height="match_parent"
android:id="@+id/nav_rail_view"
2021-10-31 01:17:56 +00:00
android:background="?attr/primaryGrayBackground"
2021-10-31 14:14:01 +00:00
app:itemTextColor="@color/item_select_color"
app:itemIconTint="@color/item_select_color"
2022-04-22 18:53:58 +00:00
2021-11-25 17:26:14 +00:00
app:menuGravity="center"
app:layout_constraintStart_toStartOf="parent"
2021-10-30 18:14:12 +00:00
app:layout_constraintTop_toTopOf="parent"
app:labelVisibilityMode="unlabeled"
2021-11-25 17:26:14 +00:00
app:menu="@menu/bottom_nav_menu">
</com.google.android.material.navigationrail.NavigationRailView>
2021-10-30 18:14:12 +00:00
<LinearLayout
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
tools:layout_height="100dp"
android:layout_width="0dp"
2021-10-30 18:14:12 +00:00
android:layout_height="wrap_content"
2022-01-29 18:57:19 +00:00
android:id="@+id/cast_mini_controller_holder">
2021-10-30 18:14:12 +00:00
<!--com.google.android.gms.cast.framework.media.widget.MiniControllerFragment-->
<fragment
2021-10-31 01:17:56 +00:00
app:customCastBackgroundColor="?attr/primaryGrayBackground"
2021-10-30 18:14:12 +00:00
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.lagradost.cloudstream3.ui.MyMiniControllerFragment"
2022-01-29 18:57:19 +00:00
tools:ignore="FragmentTagUsage" />
2021-10-30 18:14:12 +00:00
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>