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

79 lines
3.9 KiB
XML
Raw Normal View History

2021-04-30 17:20:15 +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-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-10-30 18:14:12 +00:00
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|keyboard|navigation"
2021-04-30 17:20:15 +00:00
android:paddingTop="0dp">
2022-01-29 18:57:19 +00:00
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">
2022-01-29 18:57:19 +00:00
2021-12-12 02:33:17 +00:00
<com.google.android.material.navigationrail.NavigationRailView
android:layout_width="62dp"
android:layout_height="match_parent"
android:id="@+id/nav_rail_view"
android:background="?attr/primaryGrayBackground"
app:itemTextColor="@color/item_select_color"
2022-04-18 18:24:29 +00:00
2021-12-12 02:33:17 +00:00
app:itemIconTint="@color/item_select_color"
app:menuGravity="center"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:labelVisibilityMode="unlabeled"
app:menu="@menu/bottom_nav_menu">
</com.google.android.material.navigationrail.NavigationRailView>
2021-07-29 01:46:10 +00:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/nav_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
2021-10-31 01:17:56 +00:00
android:background="?attr/primaryGrayBackground"
2021-09-19 20:33:39 +00:00
app:labelVisibilityMode="labeled"
2021-10-31 14:14:01 +00:00
app:itemTextColor="@color/item_select_color"
app:itemIconTint="@color/item_select_color"
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"
2022-01-29 18:57:19 +00:00
app:layout_constraintBottom_toBottomOf="parent" />
2022-04-22 18:53:58 +00:00
<androidx.fragment.app.FragmentContainerView
2021-07-29 01:46:10 +00:00
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
2021-12-12 02:33:17 +00:00
android:layout_width="0dp"
2021-07-29 01:46:10 +00:00
android:layout_height="0dp"
app:defaultNavHost="true"
2021-12-12 02:33:17 +00:00
app:navGraph="@navigation/mobile_navigation"
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
app:layout_constraintBottom_toTopOf="@+id/cast_mini_controller_holder"
2021-07-29 01:46:10 +00:00
app:layout_constraintTop_toTopOf="parent"
2022-01-29 18:57:19 +00:00
app:layout_constraintEnd_toEndOf="parent" />
2021-07-29 01:46:10 +00:00
<LinearLayout
tools:layout_height="100dp"
2021-12-12 02:33:17 +00:00
android:layout_width="0dp"
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
2021-07-29 01:46:10 +00:00
android:layout_height="wrap_content"
2021-12-12 02:33:17 +00:00
app:layout_constraintEnd_toEndOf="parent"
2021-07-29 01:46:10 +00:00
app:layout_constraintBottom_toTopOf="@+id/nav_view"
2022-01-29 18:57:19 +00:00
android:id="@+id/cast_mini_controller_holder">
2021-07-29 01:46:10 +00:00
<!--com.google.android.gms.cast.framework.media.widget.MiniControllerFragment-->
2021-05-16 18:28:00 +00:00
<fragment
2021-10-31 01:17:56 +00:00
app:customCastBackgroundColor="?attr/primaryGrayBackground"
2021-07-29 01:46:10 +00:00
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"
2022-01-29 18:57:19 +00:00
tools:ignore="FragmentTagUsage" />
2021-07-29 01:46:10 +00:00
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
2021-05-16 18:28:00 +00:00
</FrameLayout>