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

83 lines
3.8 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"
2022-10-28 01:51:27 +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-07-29 01:46:10 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
2022-10-28 01:51:27 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-01-29 18:57:19 +00:00
2021-12-12 02:33:17 +00:00
<com.google.android.material.navigationrail.NavigationRailView
2022-10-28 01:51:27 +00:00
android:id="@+id/nav_rail_view"
android:layout_width="62dp"
android:layout_height="match_parent"
android:background="?attr/primaryGrayBackground"
app:itemIconTint="@color/item_select_color"
2022-04-18 18:24:29 +00:00
2022-10-28 01:51:27 +00:00
app:itemTextColor="@color/item_select_color"
app:labelVisibilityMode="unlabeled"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:menu="@menu/bottom_nav_menu"
app:menuGravity="center">
2021-12-12 02:33:17 +00:00
</com.google.android.material.navigationrail.NavigationRailView>
2022-10-28 01:51:27 +00:00
<!-- android:layout_height="65dp"
app:labelVisibilityMode="unlabeled"
2021-12-12 02:33:17 +00:00
2022-10-28 01:51:27 +00:00
-->
2021-07-29 01:46:10 +00:00
<com.google.android.material.bottomnavigation.BottomNavigationView
2022-10-28 01:51:27 +00:00
android:id="@+id/nav_view"
android:layout_height="wrap_content"
android:layout_width="0dp"
app:labelVisibilityMode="labeled"
android:background="?attr/primaryGrayBackground"
2021-09-19 20:33:39 +00:00
2022-10-28 01:51:27 +00:00
app:itemIconTint="@color/item_select_color"
app:itemTextColor="@color/item_select_color"
2021-05-16 18:28:00 +00:00
2022-10-28 01:51:27 +00:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:menu="@menu/bottom_nav_menu" />
2022-01-29 18:57:19 +00:00
2022-04-22 18:53:58 +00:00
<androidx.fragment.app.FragmentContainerView
2022-10-28 01:51:27 +00:00
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_constraintBottom_toTopOf="@+id/cast_mini_controller_holder"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/mobile_navigation" />
2022-01-29 18:57:19 +00:00
2021-07-29 01:46:10 +00:00
<LinearLayout
2022-10-28 01:51:27 +00:00
android:id="@+id/cast_mini_controller_holder"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/nav_view"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nav_rail_view"
tools:layout_height="100dp">
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
2022-10-28 01:51:27 +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-07-29 01:46:10 +00:00
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
2021-05-16 18:28:00 +00:00
</FrameLayout>