aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-06-27 15:28:17 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-06-27 15:28:17 +0000
commit0736f86e170fa1f6f104a80c72c27349ab99a46b (patch)
treef2f64869f3c84a5d5609034645cbb30a69d77c8b /app/src/main/res
parent042834cc9bffc7d9a5649f035775ec92ffb9209e (diff)
downloadinfinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar.gz
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar.bz2
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar.lz
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar.xz
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.tar.zst
infinity-for-reddit-0736f86e170fa1f6f104a80c72c27349ab99a46b.zip
Navigation rail in ViewMultiRedditDetailActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml70
-rw-r--r--app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml70
2 files changed, 140 insertions, 0 deletions
diff --git a/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml
new file mode 100644
index 00000000..ef0aecbb
--- /dev/null
+++ b/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/coordinator_layout_view_multi_reddit_detail_activity"
+ tools:context=".activities.ViewMultiRedditDetailActivity">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <com.google.android.material.appbar.CollapsingToolbarLayout
+ android:id="@+id/collapsing_toolbar_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_scrollFlags="scroll|enterAlways"
+ app:titleEnabled="false"
+ app:toolbarId="@+id/toolbar_view_multi_reddit_detail_activity">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:navigationIcon="?attr/homeAsUpIndicator" />
+
+ </com.google.android.material.appbar.CollapsingToolbarLayout>
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
+
+ <com.google.android.material.navigationrail.NavigationRailView
+ android:id="@+id/navigation_rail"
+ android:layout_width="80dp"
+ android:layout_height="match_parent"
+ app:headerLayout="@layout/floating_action_button"
+ app:menu="@menu/navigation_rail_menu"
+ app:labelVisibilityMode="unlabeled"
+ app:itemActiveIndicatorStyle="@style/App.Custom.Indicator" />
+
+ <androidx.fragment.app.FragmentContainerView
+ android:id="@+id/frame_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ </LinearLayout>
+
+ <include
+ layout="@layout/bottom_app_bar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom" />
+
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/fab_view_multi_reddit_detail_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/fab_margin"
+ android:visibility="gone" />
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml
new file mode 100644
index 00000000..ef0aecbb
--- /dev/null
+++ b/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/coordinator_layout_view_multi_reddit_detail_activity"
+ tools:context=".activities.ViewMultiRedditDetailActivity">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <com.google.android.material.appbar.CollapsingToolbarLayout
+ android:id="@+id/collapsing_toolbar_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_scrollFlags="scroll|enterAlways"
+ app:titleEnabled="false"
+ app:toolbarId="@+id/toolbar_view_multi_reddit_detail_activity">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:navigationIcon="?attr/homeAsUpIndicator" />
+
+ </com.google.android.material.appbar.CollapsingToolbarLayout>
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
+
+ <com.google.android.material.navigationrail.NavigationRailView
+ android:id="@+id/navigation_rail"
+ android:layout_width="80dp"
+ android:layout_height="match_parent"
+ app:headerLayout="@layout/floating_action_button"
+ app:menu="@menu/navigation_rail_menu"
+ app:labelVisibilityMode="unlabeled"
+ app:itemActiveIndicatorStyle="@style/App.Custom.Indicator" />
+
+ <androidx.fragment.app.FragmentContainerView
+ android:id="@+id/frame_layout_view_multi_reddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ </LinearLayout>
+
+ <include
+ layout="@layout/bottom_app_bar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom" />
+
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/fab_view_multi_reddit_detail_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/fab_margin"
+ android:visibility="gone" />
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file