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

72 lines
2.5 KiB
XML
Raw Normal View History

2021-12-09 18:25:32 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-11-17 23:28:53 +05:30
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-12-09 18:25:32 +05:30
android:layout_width="match_parent"
2022-11-17 23:28:53 +05:30
android:layout_height="match_parent">
2022-06-06 19:36:53 +05:30
2022-11-17 23:28:53 +05:30
<ProgressBar
android:id="@+id/progress"
2022-11-17 22:46:12 +05:30
android:layout_width="wrap_content"
2022-11-17 23:28:53 +05:30
android:layout_height="match_parent"
android:layout_gravity="center" />
2022-11-17 22:46:12 +05:30
2022-11-17 23:28:53 +05:30
<ScrollView
2022-11-18 20:38:09 +05:30
android:id="@+id/scroll"
2022-11-17 22:46:12 +05:30
android:layout_width="match_parent"
2022-11-17 23:28:53 +05:30
android:layout_height="wrap_content">
2022-11-17 22:46:12 +05:30
2022-11-17 23:28:53 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="10dp">
2022-11-17 22:46:12 +05:30
2022-11-17 23:28:53 +05:30
<TextView
android:id="@+id/featuredTV"
style="@style/HomeCategoryTitle"
android:text="@string/featured" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/featuredRV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
<TextView
android:id="@+id/trendingTV"
style="@style/HomeCategoryTitle"
android:text="@string/trending" />
2022-11-17 23:31:46 +05:30
<RelativeLayout
2022-11-17 23:28:53 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-11-17 23:31:46 +05:30
android:descendantFocusability="blocksDescendants">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/trendingRV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
</RelativeLayout>
2022-11-17 23:28:53 +05:30
<TextView
android:id="@+id/playlistsTV"
style="@style/HomeCategoryTitle"
android:text="@string/playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/playlistsRV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
</LinearLayout>
</ScrollView>
2022-11-17 22:46:12 +05:30
2022-11-17 23:28:53 +05:30
</FrameLayout>