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

550 lines
26 KiB
XML
Raw Normal View History

2021-04-30 17:20:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
2022-01-24 20:39:22 +00:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-04-30 17:20:15 +00:00
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"
2021-07-29 00:54:27 +00:00
android:id="@+id/home_root"
2021-04-30 17:20:15 +00:00
tools:context=".ui.home.HomeFragment">
2021-07-29 15:16:08 +00:00
2021-08-25 15:28:25 +00:00
<FrameLayout
2021-10-09 21:59:37 +00:00
android:visibility="gone"
2021-12-11 21:23:36 +00:00
tools:visibility="gone"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_loading"
2021-08-25 15:28:25 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-01-24 20:39:22 +00:00
2021-08-25 15:28:25 +00:00
<ProgressBar
android:layout_gravity="center"
2021-12-10 23:57:11 +00:00
android:visibility="gone"
tools:visibility="gone"
2021-08-25 15:28:25 +00:00
android:layout_width="50dp"
2022-01-24 20:39:22 +00:00
android:layout_height="50dp" />
2021-12-10 23:57:11 +00:00
<com.facebook.shimmer.ShimmerFrameLayout
android:id="@+id/home_loading_shimmer"
app:shimmer_base_alpha="0.2"
app:shimmer_highlight_alpha="0.3"
app:shimmer_duration="@integer/loading_time"
app:shimmer_auto_start="true"
android:paddingTop="40dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginTop="15dp"
android:orientation="vertical">
2022-01-24 20:39:22 +00:00
2021-12-10 23:57:11 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2022-01-24 20:39:22 +00:00
2021-12-10 23:57:11 +00:00
<FrameLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-12-10 23:57:11 +00:00
<androidx.cardview.widget.CardView
android:layout_margin="@dimen/loading_margin"
android:layout_gravity="center"
app:cardCornerRadius="@dimen/loading_radius"
android:background="@color/grayShimmer"
android:translationX="-164dp"
android:layout_width="125dp"
2022-01-24 20:39:22 +00:00
android:layout_height="200dp" />
2021-12-10 23:57:11 +00:00
<androidx.cardview.widget.CardView
android:layout_margin="@dimen/loading_margin"
android:layout_gravity="center"
app:cardCornerRadius="@dimen/loading_radius"
android:background="@color/grayShimmer"
android:layout_width="148dp"
2022-01-24 20:39:22 +00:00
android:layout_height="234dp" />
2021-12-10 23:57:11 +00:00
<androidx.cardview.widget.CardView
android:layout_margin="@dimen/loading_margin"
android:layout_gravity="center"
app:cardCornerRadius="@dimen/loading_radius"
android:background="@color/grayShimmer"
android:translationX="164dp"
android:layout_width="125dp"
2022-01-24 20:39:22 +00:00
android:layout_height="200dp" />
2021-12-10 23:57:11 +00:00
</FrameLayout>
2022-01-24 20:39:22 +00:00
<include layout="@layout/loading_line_short_center" />
2021-12-10 23:57:11 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_marginTop="@dimen/result_padding"
android:layout_marginStart="@dimen/result_padding"
android:layout_marginEnd="@dimen/result_padding"
2022-01-24 20:39:22 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/loading_list" />
<include layout="@layout/loading_list" />
2021-12-10 23:57:11 +00:00
2022-01-24 20:39:22 +00:00
<include layout="@layout/loading_list" />
2021-12-10 23:57:11 +00:00
</LinearLayout>
</LinearLayout>
</com.facebook.shimmer.ShimmerFrameLayout>
2021-10-22 13:23:48 +00:00
<FrameLayout
android:id="@+id/home_loading_statusbar"
android:layout_width="match_parent"
2021-11-05 21:39:56 +00:00
android:layout_height="70dp">
2022-01-24 20:39:22 +00:00
2021-10-22 13:23:48 +00:00
<ImageView
android:id="@+id/home_change_api_loading"
android:layout_margin="10dp"
android:layout_gravity="center_vertical|end"
android:background="?android:attr/selectableItemBackgroundBorderless"
2021-11-05 21:39:56 +00:00
android:src="@drawable/ic_baseline_keyboard_arrow_down_24"
android:layout_width="30dp"
android:layout_height="30dp"
2022-01-24 20:39:22 +00:00
android:contentDescription="@string/home_change_provider_img_des" />
2021-10-22 13:23:48 +00:00
</FrameLayout>
2021-08-25 15:28:25 +00:00
</FrameLayout>
2021-07-29 13:39:57 +00:00
<LinearLayout
android:visibility="gone"
2021-10-22 13:42:56 +00:00
tools:visibility="gone"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_loading_error"
2021-07-29 13:39:57 +00:00
android:orientation="vertical"
2021-07-29 15:16:08 +00:00
android:layout_gravity="center"
2021-04-30 17:20:15 +00:00
android:layout_width="match_parent"
2021-07-29 15:16:08 +00:00
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-07-29 15:16:08 +00:00
<com.google.android.material.button.MaterialButton
android:layout_gravity="center"
2021-08-06 20:55:11 +00:00
style="@style/WhiteButton"
2021-07-29 13:39:57 +00:00
2021-10-22 13:23:48 +00:00
android:layout_margin="5dp"
2021-07-29 15:16:08 +00:00
app:icon="@drawable/ic_baseline_autorenew_24"
android:text="@string/reload_error"
android:id="@+id/home_reload_connectionerror"
android:layout_width="wrap_content"
2022-01-24 20:39:22 +00:00
android:minWidth="200dp" />
2021-07-29 15:16:08 +00:00
<com.google.android.material.button.MaterialButton
android:layout_gravity="center"
2021-08-06 20:55:11 +00:00
style="@style/BlackButton"
2021-07-29 15:16:08 +00:00
2021-10-22 13:23:48 +00:00
android:layout_margin="5dp"
2021-07-29 15:16:08 +00:00
app:icon="@drawable/ic_baseline_public_24"
android:text="@string/result_open_in_browser"
android:id="@+id/home_reload_connection_open_in_browser"
android:layout_width="wrap_content"
2022-01-24 20:39:22 +00:00
android:minWidth="200dp" />
2021-07-29 15:16:08 +00:00
<TextView
android:layout_margin="5dp"
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/result_error_text"
android:textColor="?attr/textColor"
android:layout_width="match_parent"
2022-01-24 20:39:22 +00:00
android:layout_height="wrap_content" />
2021-07-29 15:16:08 +00:00
</LinearLayout>
2022-01-24 20:39:22 +00:00
2021-07-29 15:16:08 +00:00
<androidx.core.widget.NestedScrollView
2021-10-22 13:23:48 +00:00
android:background="?attr/primaryBlackBackground"
2021-12-11 21:23:36 +00:00
tools:visibility="visible"
android:visibility="gone"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_loaded"
android:layout_width="match_parent"
android:layout_height="match_parent">
2021-07-30 14:09:57 +00:00
2021-07-29 13:39:57 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
2021-07-29 15:16:08 +00:00
android:layout_height="match_parent">
2022-01-24 20:39:22 +00:00
2021-10-22 13:23:48 +00:00
<View
2021-10-31 01:17:56 +00:00
android:background="?attr/primaryGrayBackground"
2021-10-22 13:23:48 +00:00
android:id="@+id/home_statusbar"
android:layout_height="wrap_content"
2022-01-24 20:39:22 +00:00
android:layout_width="match_parent" />
2021-10-22 13:23:48 +00:00
<FrameLayout
android:id="@+id/home_settings_bar"
2021-10-31 01:17:56 +00:00
android:background="?attr/primaryGrayBackground"
2021-10-22 13:23:48 +00:00
android:layout_width="match_parent"
2021-10-30 18:14:12 +00:00
android:layout_height="70dp">
2022-01-24 20:39:22 +00:00
2021-10-22 13:23:48 +00:00
<LinearLayout
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
2021-11-07 22:10:19 +00:00
android:orientation="horizontal"
2021-10-22 13:23:48 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-01-24 20:39:22 +00:00
2021-11-07 22:10:19 +00:00
<androidx.cardview.widget.CardView
android:id="@+id/home_profile_picture_holder"
2022-04-26 12:14:36 +00:00
android:layout_marginEnd="10dp"
2021-11-07 22:10:19 +00:00
app:cardCornerRadius="100dp"
android:layout_gravity="center_vertical"
2022-04-25 18:00:25 +00:00
android:layout_width="40dp"
android:layout_height="40dp">
2022-01-24 20:39:22 +00:00
2021-11-07 22:10:19 +00:00
<ImageView
2022-04-27 19:48:27 +00:00
android:scaleType="centerCrop"
2021-11-07 22:10:19 +00:00
android:id="@+id/home_profile_picture"
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-01-24 20:39:22 +00:00
tools:ignore="ContentDescription" />
2021-11-07 22:10:19 +00:00
</androidx.cardview.widget.CardView>
2022-01-24 20:39:22 +00:00
2022-04-25 18:00:25 +00:00
<FrameLayout
android:layout_gravity="center_vertical"
android:visibility="visible"
android:background="@drawable/search_background"
android:layout_width="match_parent"
android:layout_height="40dp">
<androidx.appcompat.widget.SearchView
android:id="@+id/home_search"
app:queryBackground="@color/transparent"
app:searchIcon="@drawable/search_icon"
android:paddingStart="-10dp"
android:iconifiedByDefault="false"
app:queryHint="@string/search_hint"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
app:iconifiedByDefault="false"
tools:ignore="RtlSymmetry" />
</FrameLayout>
2021-11-07 22:10:19 +00:00
<LinearLayout
2022-04-25 18:00:25 +00:00
android:visibility="gone"
2021-11-07 22:10:19 +00:00
android:gravity="center"
2021-10-22 13:23:48 +00:00
2021-11-07 22:10:19 +00:00
android:orientation="vertical"
2021-10-22 13:23:48 +00:00
android:layout_width="match_parent"
2021-11-07 22:10:19 +00:00
android:layout_height="match_parent">
2022-01-24 20:39:22 +00:00
2021-11-07 22:10:19 +00:00
<TextView
android:gravity="center_vertical"
android:layout_gravity="center"
android:id="@+id/home_provider_name"
android:textColor="?attr/textColor"
android:textSize="20sp"
tools:text="Hello World"
android:layout_width="match_parent"
2022-01-24 20:39:22 +00:00
android:layout_height="wrap_content" />
2021-11-07 22:10:19 +00:00
<TextView
android:gravity="center_vertical"
android:layout_gravity="center"
android:id="@+id/home_provider_meta_info"
android:textColor="?attr/grayTextColor"
android:textSize="14sp"
tools:text="Hello World"
android:layout_width="match_parent"
2022-01-24 20:39:22 +00:00
android:layout_height="wrap_content" />
2021-11-07 22:10:19 +00:00
</LinearLayout>
2021-10-22 13:23:48 +00:00
</LinearLayout>
2022-04-25 18:00:25 +00:00
<!--
<ImageView
android:nextFocusDown="@id/home_main_poster_recyclerview"
android:nextFocusUp="@id/nav_rail_view"
android:nextFocusLeft="@id/nav_rail_view"
2021-11-07 22:10:19 +00:00
2022-04-25 18:00:25 +00:00
android:id="@+id/home_change_api"
android:layout_margin="10dp"
android:layout_gravity="center|end"
android:background="?android:attr/selectableItemBackgroundBorderless"
2021-10-22 13:23:48 +00:00
2022-04-25 18:00:25 +00:00
android:src="@drawable/ic_baseline_keyboard_arrow_down_24"
android:layout_width="30dp"
android:layout_height="30dp"
android:contentDescription="@string/home_change_provider_img_des">
2022-01-24 20:39:22 +00:00
2022-04-25 18:00:25 +00:00
<requestFocus />
</ImageView>-->
2021-10-22 13:23:48 +00:00
</FrameLayout>
2021-07-29 15:16:08 +00:00
2021-07-29 13:39:57 +00:00
<LinearLayout
2021-10-22 13:23:48 +00:00
android:layout_marginTop="10dp"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_main_holder"
android:orientation="vertical"
2021-07-29 13:39:57 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-10-22 13:23:48 +00:00
<androidx.recyclerview.widget.RecyclerView
android:descendantFocusability="afterDescendants"
2021-10-22 13:42:56 +00:00
android:nextFocusUp="@id/home_change_api"
android:nextFocusDown="@id/home_main_info"
2021-10-22 13:23:48 +00:00
2021-10-22 18:11:26 +00:00
android:clipToPadding="false"
android:paddingStart="148dp"
android:paddingEnd="148dp"
2021-10-22 13:23:48 +00:00
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:id="@+id/home_main_poster_recyclerview"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-01-24 20:39:22 +00:00
tools:listitem="@layout/home_result_grid" />
2021-10-22 13:23:48 +00:00
<!--<ImageView
2021-10-09 21:59:37 +00:00
android:foreground="@drawable/outline_drawable"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_main_poster"
tools:src="@drawable/example_poster"
2021-07-29 13:39:57 +00:00
android:layout_gravity="center"
android:scaleType="centerCrop"
2021-07-29 15:16:08 +00:00
android:layout_width="150dp"
android:layout_height="212dp"
2021-09-03 23:24:47 +00:00
android:contentDescription="@string/home_main_poster_img_des">
2021-10-22 13:23:48 +00:00
</ImageView>-->
2021-07-29 15:16:08 +00:00
<TextView
android:id="@+id/home_main_text"
2021-07-29 13:39:57 +00:00
android:layout_gravity="center"
2021-07-29 15:16:08 +00:00
android:gravity="center"
tools:text="Perfect Run"
2021-07-29 13:39:57 +00:00
android:textStyle="bold"
android:layout_margin="5dp"
2021-07-29 15:16:08 +00:00
android:textSize="15sp"
2021-10-31 01:17:56 +00:00
android:textColor="?attr/textColor"
2021-07-29 15:16:08 +00:00
android:layout_width="match_parent"
2021-10-22 13:23:48 +00:00
android:maxLines="2"
android:ellipsize="end"
2022-01-24 20:39:22 +00:00
android:layout_height="40sp" />
2021-07-29 15:16:08 +00:00
<LinearLayout
2022-04-26 12:14:36 +00:00
android:visibility="visible"
2021-10-31 01:17:56 +00:00
android:padding="5dp"
2021-07-29 13:39:57 +00:00
android:layout_gravity="center"
2021-07-29 15:16:08 +00:00
android:gravity="center"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2021-10-09 21:59:37 +00:00
2021-07-29 15:16:08 +00:00
<com.google.android.material.button.MaterialButton
2021-11-27 18:49:51 +00:00
android:nextFocusLeft="@id/nav_rail_view"
2021-10-22 13:42:56 +00:00
android:nextFocusUp="@id/home_main_poster_recyclerview"
2021-10-09 21:59:37 +00:00
android:nextFocusRight="@id/home_main_info"
android:nextFocusDown="@id/home_watch_child_more_info"
2021-08-06 20:55:11 +00:00
style="@style/WhiteButton"
2021-07-29 15:16:08 +00:00
android:visibility="visible"
android:layout_gravity="center"
android:id="@+id/home_main_play"
android:text="@string/home_play"
2021-07-29 13:39:57 +00:00
2021-07-29 15:16:08 +00:00
app:icon="@drawable/ic_baseline_play_arrow_24"
2021-10-27 19:45:15 +00:00
android:minWidth="120dp"
2022-01-24 20:39:22 +00:00
android:layout_width="wrap_content" />
2021-07-29 15:16:08 +00:00
<com.google.android.material.button.MaterialButton
2021-10-09 21:59:37 +00:00
android:nextFocusLeft="@id/home_main_play"
2021-10-22 13:42:56 +00:00
android:nextFocusUp="@id/home_main_poster_recyclerview"
2021-11-27 18:49:51 +00:00
android:nextFocusRight="@id/home_change_api"
2021-10-09 21:59:37 +00:00
android:nextFocusDown="@id/home_watch_child_more_info"
2021-08-06 20:55:11 +00:00
style="@style/BlackButton"
2021-07-29 15:16:08 +00:00
android:visibility="visible"
android:layout_gravity="center"
android:text="@string/home_info"
app:icon="@drawable/ic_outline_info_24"
android:id="@+id/home_main_info"
android:clickable="true"
android:focusable="true"
2021-10-27 19:45:15 +00:00
android:minWidth="120dp"
2022-01-24 20:39:22 +00:00
android:layout_width="wrap_content" />
2021-07-29 15:16:08 +00:00
</LinearLayout>
2021-07-29 13:39:57 +00:00
</LinearLayout>
2021-07-30 14:09:57 +00:00
2021-08-25 15:28:25 +00:00
<LinearLayout
android:id="@+id/home_watch_holder"
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
2021-11-27 18:49:51 +00:00
android:nextFocusLeft="@id/nav_rail_view"
2021-10-09 21:59:37 +00:00
android:nextFocusUp="@id/home_main_info"
android:nextFocusDown="@id/home_watch_child_recyclerview"
2021-08-25 15:28:25 +00:00
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:id="@+id/home_watch_child_more_info"
android:padding="12dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-08-25 15:28:25 +00:00
<TextView
android:layout_gravity="center_vertical"
android:id="@+id/home_watch_parent_item_title"
2021-10-27 19:45:15 +00:00
style="@style/WatchHeaderText"
2022-01-24 20:39:22 +00:00
android:text="@string/continue_watching" />
2021-08-25 15:28:25 +00:00
<ImageView
2022-01-07 19:27:25 +00:00
app:tint="?attr/textColor"
2021-08-25 15:28:25 +00:00
android:layout_marginEnd="5dp"
android:layout_gravity="end|center_vertical"
android:src="@drawable/ic_baseline_arrow_forward_24"
android:layout_width="30dp"
android:layout_height="match_parent"
2022-01-24 20:39:22 +00:00
android:contentDescription="@string/home_more_info" />
2021-08-25 15:28:25 +00:00
</FrameLayout>
2021-12-10 23:57:11 +00:00
2021-12-26 00:05:10 +00:00
<androidx.recyclerview.widget.RecyclerView
android:paddingHorizontal="5dp"
android:clipToPadding="false"
android:descendantFocusability="afterDescendants"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:id="@+id/home_watch_child_recyclerview"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-01-24 20:39:22 +00:00
tools:listitem="@layout/home_result_grid" />
2021-12-10 23:57:11 +00:00
2021-08-25 15:28:25 +00:00
</LinearLayout>
2021-07-30 14:09:57 +00:00
<LinearLayout
android:id="@+id/home_bookmarked_holder"
android:orientation="vertical"
2021-07-30 23:41:54 +00:00
android:visibility="gone"
tools:visibility="visible"
2021-07-30 14:09:57 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
2021-11-27 18:49:51 +00:00
android:nextFocusLeft="@id/nav_rail_view"
2021-10-09 21:59:37 +00:00
android:nextFocusUp="@id/home_watch_child_recyclerview"
android:nextFocusForward="@id/home_bookmarked_child_recyclerview"
2021-07-30 14:09:57 +00:00
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:id="@+id/home_bookmarked_child_more_info"
2021-12-09 21:20:27 +00:00
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:paddingStart="12dp"
android:paddingEnd="12dp"
2021-07-30 14:09:57 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-12-09 21:20:27 +00:00
<HorizontalScrollView
android:fadingEdge="horizontal"
android:requiresFadingEdge="horizontal"
android:layout_marginEnd="50dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-12-09 21:20:27 +00:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
2022-01-24 20:39:22 +00:00
2021-12-09 21:20:27 +00:00
<com.google.android.material.button.MaterialButton
android:nextFocusLeft="@id/nav_rail_view"
android:nextFocusRight="@id/home_plan_to_watch_btt"
android:id="@+id/home_type_watching_btt"
android:text="@string/type_watching"
2022-01-24 20:39:22 +00:00
style="@style/RoundedSelectableButton" />
2021-12-09 21:20:27 +00:00
<com.google.android.material.button.MaterialButton
android:nextFocusLeft="@id/home_type_watching_btt"
android:nextFocusRight="@id/home_type_on_hold_btt"
android:id="@+id/home_plan_to_watch_btt"
android:text="@string/type_plan_to_watch"
2022-01-24 20:39:22 +00:00
style="@style/RoundedSelectableButton" />
2021-12-09 21:20:27 +00:00
<com.google.android.material.button.MaterialButton
android:nextFocusLeft="@id/home_plan_to_watch_btt"
android:nextFocusRight="@id/home_type_dropped_btt"
android:id="@+id/home_type_on_hold_btt"
android:text="@string/type_on_hold"
2022-01-24 20:39:22 +00:00
style="@style/RoundedSelectableButton" />
2021-12-09 21:20:27 +00:00
<com.google.android.material.button.MaterialButton
android:nextFocusLeft="@id/home_type_on_hold_btt"
android:nextFocusRight="@id/home_type_completed_btt"
android:id="@+id/home_type_dropped_btt"
android:text="@string/type_dropped"
2022-01-24 20:39:22 +00:00
style="@style/RoundedSelectableButton" />
2021-12-09 21:20:27 +00:00
<com.google.android.material.button.MaterialButton
android:nextFocusLeft="@id/home_type_dropped_btt"
android:id="@+id/home_type_completed_btt"
android:text="@string/type_completed"
2022-01-24 20:39:22 +00:00
style="@style/RoundedSelectableButton" />
2021-12-09 21:20:27 +00:00
</LinearLayout>
</HorizontalScrollView>
2022-01-24 20:39:22 +00:00
2021-07-30 14:09:57 +00:00
<ImageView
2022-01-07 19:27:25 +00:00
app:tint="?attr/textColor"
2021-07-30 14:09:57 +00:00
android:layout_marginEnd="5dp"
android:layout_gravity="end|center_vertical"
android:src="@drawable/ic_baseline_arrow_forward_24"
android:layout_width="30dp"
android:layout_height="match_parent"
2022-01-24 20:39:22 +00:00
android:contentDescription="@string/home_more_info" />
2021-07-30 14:09:57 +00:00
</FrameLayout>
2022-01-24 20:39:22 +00:00
2021-07-30 14:09:57 +00:00
<androidx.recyclerview.widget.RecyclerView
android:paddingHorizontal="5dp"
android:clipToPadding="false"
2021-10-09 21:59:37 +00:00
android:descendantFocusability="afterDescendants"
2021-07-30 14:09:57 +00:00
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:id="@+id/home_bookmarked_child_recyclerview"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-01-24 20:39:22 +00:00
tools:listitem="@layout/home_result_grid" />
2021-07-30 14:09:57 +00:00
</LinearLayout>
2021-07-29 15:16:08 +00:00
<androidx.recyclerview.widget.RecyclerView
2021-11-27 18:49:51 +00:00
android:nextFocusLeft="@id/nav_rail_view"
2021-10-09 21:59:37 +00:00
android:descendantFocusability="afterDescendants"
2021-07-29 15:16:08 +00:00
android:id="@+id/home_master_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-01-24 20:39:22 +00:00
tools:listitem="@layout/homepage_parent" />
2021-07-29 13:39:57 +00:00
</LinearLayout>
2021-07-29 15:16:08 +00:00
</androidx.core.widget.NestedScrollView>
2022-01-24 20:39:22 +00:00
2021-12-26 00:05:10 +00:00
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:visibility="gone"
tools:visibility="visible"
android:text="@string/home_source"
2021-12-26 00:05:10 +00:00
android:id="@+id/home_api_fab"
app:icon="@drawable/ic_baseline_filter_list_24"
style="@style/ExtendedFloatingActionButton"
android:textColor="?attr/textColor"
2022-01-24 20:39:22 +00:00
tools:ignore="ContentDescription" />
2022-04-25 18:00:25 +00:00
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
2022-04-25 18:00:25 +00:00
android:visibility="gone"
tools:visibility="visible"
android:text="@string/home_random"
android:id="@+id/home_random"
android:layout_gravity="bottom|start"
app:icon="@drawable/ic_baseline_play_arrow_24"
style="@style/ExtendedFloatingActionButton"
android:textColor="?attr/textColor"
tools:ignore="ContentDescription" />
2021-07-29 15:16:08 +00:00
</FrameLayout>