2022-02-12 20:00:36 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-04 21:04:18 +05:30
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2022-02-12 20:00:36 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-04 21:04:18 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-06-04 22:35:27 +05:30
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2022-06-03 22:19:48 +05:30
|
|
|
android:background="?android:attr/selectableItemBackground">
|
|
|
|
|
2022-02-12 20:00:36 +05:30
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
android:id="@+id/subscription_channel_image"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:layout_width="40dp"
|
2022-06-09 17:15:16 +05:30
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_centerVertical="true" />
|
2022-06-03 22:19:48 +05:30
|
|
|
|
2022-02-12 20:00:36 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/subscription_channel_name"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:layout_width="wrap_content"
|
2022-02-12 20:00:36 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_toEndOf="@id/subscription_channel_image"
|
2022-02-12 20:00:36 +05:30
|
|
|
android:ellipsize="end"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:maxLines="1"
|
|
|
|
android:text="Channel Name"
|
|
|
|
android:textSize="16dp" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
2022-06-04 22:35:27 +05:30
|
|
|
android:id="@+id/subscription_subscribe"
|
2022-06-04 21:04:18 +05:30
|
|
|
style="@style/Widget.Material3.Button.ElevatedButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
2022-06-04 22:35:27 +05:30
|
|
|
android:backgroundTint="?attr/colorOnPrimary"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:text="@string/unsubscribe"
|
2022-06-09 17:15:16 +05:30
|
|
|
android:textSize="11dp"
|
2022-06-07 21:13:52 +05:30
|
|
|
android:textColor="@android:color/white"
|
2022-06-04 22:35:27 +05:30
|
|
|
app:cornerRadius="20dp" />
|
2022-06-04 21:04:18 +05:30
|
|
|
</RelativeLayout>
|