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

64 lines
3 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"
2022-12-28 11:51:55 +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
2022-12-28 11:51:55 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-01-29 18:57:19 +00:00
2022-04-22 18:53:58 +00:00
<androidx.fragment.app.FragmentContainerView
2022-12-28 11:51:55 +00:00
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"
app:layout_constraintBottom_toTopOf="@id/cast_mini_controller_holder"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:navGraph="@navigation/mobile_navigation" />
2022-04-22 18:53:58 +00:00
2021-11-25 17:26:14 +00:00
<com.google.android.material.navigationrail.NavigationRailView
2022-12-28 11:51:55 +00:00
android:id="@+id/nav_rail_view"
android:layout_width="62dp"
android:layout_height="match_parent"
android:background="?attr/primaryGrayBackground"
android:descendantFocusability="afterDescendants"
app:itemIconTint="@color/item_select_color"
app:itemTextColor="@color/item_select_color"
2022-04-22 18:53:58 +00:00
2022-12-28 11:51:55 +00:00
app:labelVisibilityMode="unlabeled"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:menu="@menu/bottom_nav_menu"
app:menuGravity="center">
2021-11-25 17:26:14 +00:00
</com.google.android.material.navigationrail.NavigationRailView>
2021-10-30 18:14:12 +00:00
<LinearLayout
2022-12-28 11:51:55 +00:00
android:id="@+id/cast_mini_controller_holder"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
tools:layout_height="100dp">
2021-10-30 18:14:12 +00:00
<!--com.google.android.gms.cast.framework.media.widget.MiniControllerFragment-->
<fragment
2022-12-28 11:51:55 +00:00
android:id="@+id/cast_mini_controller"
class="com.lagradost.cloudstream3.ui.MyMiniControllerFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:castControlButtons="@array/cast_mini_controller_control_buttons"
app:customCastBackgroundColor="?attr/primaryGrayBackground"
tools:ignore="FragmentTagUsage" />
2021-10-30 18:14:12 +00:00
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>