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

47 lines
1.8 KiB
XML
Raw Normal View History

2021-07-29 00:19:42 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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:orientation="vertical"
2021-07-30 14:09:57 +00:00
android:layout_width="match_parent"
2021-07-29 00:19:42 +00:00
android:layout_height="wrap_content">
2021-07-29 00:54:27 +00:00
<FrameLayout
2021-10-09 21:59:37 +00:00
android:nextFocusDown="@id/home_child_recyclerview"
2021-07-29 00:54:27 +00:00
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:id="@+id/home_child_more_info"
android:padding="12dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/home_parent_item_title"
2021-10-27 19:45:15 +00:00
style="@style/WatchHeaderText"
2021-07-29 00:54:27 +00:00
tools:text="Trending"
2021-07-29 00:19:42 +00:00
/>
2021-07-29 00:54:27 +00:00
<ImageView
2021-10-31 01:17:56 +00:00
android:tint="?attr/textColor"
2021-07-29 00:54:27 +00:00
android:layout_marginEnd="5dp"
android:layout_gravity="end|center_vertical"
android:src="@drawable/ic_baseline_arrow_forward_24"
android:layout_width="30dp"
2021-08-21 21:06:24 +00:00
android:layout_height="match_parent"
android:contentDescription="@string/home_more_info">
2021-07-29 00:54:27 +00:00
</ImageView>
</FrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:paddingHorizontal="5dp"
android:clipToPadding="false"
2021-10-09 21:59:37 +00:00
android:descendantFocusability="afterDescendants"
2021-07-29 00:54:27 +00:00
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:id="@+id/home_child_recyclerview"
android:orientation="horizontal"
2021-07-30 14:09:57 +00:00
android:layout_width="match_parent"
2021-07-29 00:54:27 +00:00
android:layout_height="wrap_content"
tools:listitem="@layout/home_result_grid"
/>
2021-07-29 00:19:42 +00:00
</LinearLayout>