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"
|
2022-06-27 22:47:52 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-07-28 19:41:35 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-06-04 21:04:18 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-02-12 20:00:36 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-04 22:35:27 +05:30
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_marginRight="8dp"
|
2022-06-04 22:35:27 +05:30
|
|
|
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"
|
2022-07-08 02:10:32 +05:30
|
|
|
android:layout_marginStart="10dp"
|
2022-06-04 21:04:18 +05:30
|
|
|
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"
|
2022-07-28 19:41:35 +05:30
|
|
|
android:textSize="16sp"
|
|
|
|
tools:text="Channel Name" />
|
2022-06-04 21:04:18 +05:30
|
|
|
|
|
|
|
<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-07-11 19:55:47 +05:30
|
|
|
android:layout_centerVertical="true"
|
2022-07-15 14:13:17 +05:30
|
|
|
android:stateListAnimator="@null"
|
2022-07-11 19:55:47 +05:30
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="12sp"
|
2022-07-15 14:13:17 +05:30
|
|
|
app:cornerRadius="20dp"
|
2022-07-28 19:41:35 +05:30
|
|
|
app:elevation="20dp"
|
2022-07-29 16:09:03 +05:30
|
|
|
android:text="@string/unsubscribe" />
|
2022-06-04 21:04:18 +05:30
|
|
|
</RelativeLayout>
|