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

92 lines
3.5 KiB
XML
Raw Normal View History

2022-02-05 00:25:05 +05:30
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
2022-02-05 19:39:50 +05:30
tools:context=".ChannelFragment"
android:id="@+id/channel_scrollView">
2022-02-05 00:25:05 +05:30
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/channel_banner"
android:layout_width="match_parent"
android:layout_height="80dp"
2022-02-05 00:25:05 +05:30
/>
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/channel_image"
android:layout_width="55dp"
android:layout_height="55dp"
2022-02-05 00:25:05 +05:30
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
2022-02-05 00:25:05 +05:30
/>
<TextView
android:id="@+id/channel_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="Mia Plays"
android:textSize="20sp"
android:layout_marginTop="7dp"
2022-02-05 00:25:05 +05:30
android:textStyle="bold" />
<com.google.android.material.button.MaterialButton
2022-02-05 00:25:05 +05:30
android:id="@+id/channel_subscribe"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/subscribe"
android:textColor="?attr/colorPrimary"
android:background="?android:attr/selectableItemBackground"
2022-02-05 00:25:05 +05:30
/>
<TextView
android:id="@+id/channel_subs"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/app_name"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:text="Description"
android:textStyle="bold"
android:layout_marginRight="10dp"
android:textSize="17sp" />
2022-02-05 00:25:05 +05:30
<TextView
android:id="@+id/channel_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginBottom="5dp"
android:text="" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:text="Videos"
android:textStyle="bold"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="5dp"
android:textSize="17sp" />
2022-02-05 00:25:05 +05:30
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/channel_recView"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
2022-02-05 00:25:05 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</RelativeLayout>
</LinearLayout>
</ScrollView>