mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
|
<?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"
|
||
|
tools:context=".ChannelFragment">
|
||
|
<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="wrap_content"
|
||
|
/>
|
||
|
<de.hdodenhof.circleimageview.CircleImageView
|
||
|
android:id="@+id/channel_image"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
/>
|
||
|
|
||
|
<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:textStyle="bold" />
|
||
|
<Button
|
||
|
android:id="@+id/channel_subscribe"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:background="@android:color/transparent"
|
||
|
android:text="@string/subscribe"
|
||
|
android:textColor="@color/colorPrimary"
|
||
|
/>
|
||
|
<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:id="@+id/channel_description"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:text=""
|
||
|
android:textAlignment="center"
|
||
|
android:padding="8dp"/>
|
||
|
<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_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:nestedScrollingEnabled="false" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|