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

107 lines
4.0 KiB
XML
Raw Normal View History

2021-12-09 18:25:32 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-02-12 20:00:36 +05:30
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-12-09 18:25:32 +05:30
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Subscriptions">
2022-02-12 20:00:36 +05:30
<ProgressBar
android:id="@+id/sub_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:visibility="gone" />
2021-12-09 18:25:32 +05:30
<RelativeLayout
2022-02-12 20:00:36 +05:30
android:id="@+id/loginOrRegister"
2021-12-09 18:25:32 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-04-12 23:55:08 +05:30
android:layout_centerInParent="true">
<ImageView
2022-02-07 22:13:30 +05:30
android:id="@+id/boogh"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerInParent="true"
android:layout_marginBottom="16dp"
2022-02-12 20:00:36 +05:30
android:src="@drawable/ic_login" />
<TextView
2022-02-12 20:00:36 +05:30
android:id="@+id/textLike"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-02-07 22:13:30 +05:30
android:layout_below="@id/boogh"
android:layout_centerHorizontal="true"
2022-02-12 20:00:36 +05:30
android:gravity="center"
android:text="@string/please_login"
android:textSize="20sp"
2022-02-12 20:00:36 +05:30
android:textStyle="bold" />
</RelativeLayout>
2022-03-18 18:33:54 +05:30
<com.github.libretube.CustomSwipeToRefresh
android:id="@+id/sub_refresh"
2022-02-12 20:00:36 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:id="@+id/scrollview_sub"
2022-02-12 20:00:36 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
2022-02-12 20:00:36 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2022-02-12 20:00:36 +05:30
2022-05-14 21:44:53 +05:30
<RelativeLayout
android:id="@+id/toggle_subs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-05-16 21:03:22 +05:30
android:layout_margin="12dp"
android:visibility="gone">
2022-05-14 21:44:53 +05:30
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/subscriptions"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:src="@drawable/ic_arrow_down"
/>
</RelativeLayout>
<RelativeLayout
2022-02-12 20:00:36 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
2021-12-09 18:25:32 +05:30
<androidx.recyclerview.widget.RecyclerView
2022-05-14 21:44:53 +05:30
android:visibility="gone"
android:id="@+id/sub_channels"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</RelativeLayout>
<RelativeLayout
2022-02-12 20:00:36 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/sub_feed"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="false" />
</RelativeLayout>
</LinearLayout>
</ScrollView>
2022-03-18 18:33:54 +05:30
</com.github.libretube.CustomSwipeToRefresh>
</RelativeLayout>