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

92 lines
3.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-18 20:53:45 +05:30
<com.github.libretube.ui.views.CustomSwipeToRefresh
android:id="@+id/refresh"
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-18 20:53:45 +05:30
<ScrollView
android:id="@+id/scroll"
android:visibility="gone"
2022-11-17 23:28:53 +05:30
android:layout_width="match_parent"
2022-11-18 20:53:45 +05:30
android:layout_height="wrap_content">
2022-11-17 23:28:53 +05:30
2022-11-18 20:53:45 +05:30
<LinearLayout
2022-11-17 23:28:53 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-11-18 20:53:45 +05:30
android:orientation="vertical"
android:paddingBottom="10dp">
<TextView
android:id="@+id/featuredTV"
style="@style/HomeCategoryTitle"
android:text="@string/featured" />
2022-11-17 23:31:46 +05:30
<androidx.recyclerview.widget.RecyclerView
2022-11-18 20:53:45 +05:30
android:id="@+id/featuredRV"
android:layout_width="wrap_content"
2022-11-17 23:31:46 +05:30
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
2022-11-18 20:53:45 +05:30
<TextView
android:id="@+id/trendingTV"
style="@style/HomeCategoryTitle"
android:text="@string/trending" />
2022-11-17 23:28:53 +05:30
2022-11-18 20:53:45 +05:30
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
2022-11-17 23:28:53 +05:30
2022-11-18 20:53:45 +05:30
<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-18 22:31:11 +05:30
<TextView
android:id="@+id/bookmarksTV"
style="@style/HomeCategoryTitle"
2022-11-18 22:58:41 +05:30
android:text="@string/bookmarks" />
2022-11-18 22:31:11 +05:30
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/bookmarksRV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false"
android:visibility="gone" />
2022-11-18 20:53:45 +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>
2022-11-17 23:28:53 +05:30
2022-11-18 20:53:45 +05:30
</ScrollView>
2022-11-17 23:28:53 +05:30
2022-11-18 20:53:45 +05:30
</com.github.libretube.ui.views.CustomSwipeToRefresh>
2022-11-17 22:46:12 +05:30
2022-11-17 23:28:53 +05:30
</FrameLayout>