2022-02-12 20:00:36 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-11-06 15:56:24 +05:30
|
|
|
<LinearLayout 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-08-15 13:29:48 +05:30
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
android:paddingVertical="4dp">
|
2022-06-03 22:19:48 +05:30
|
|
|
|
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"
|
2022-11-06 15:56:24 +05:30
|
|
|
android:layout_gravity="center"
|
2022-10-19 23:23:18 +05:30
|
|
|
android:layout_marginStart="8dp" />
|
2022-06-03 22:19:48 +05:30
|
|
|
|
2022-02-12 20:00:36 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/subscription_channel_name"
|
2022-11-06 15:56:24 +05:30
|
|
|
android:layout_width="0dp"
|
2022-02-12 20:00:36 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-11-06 15:56:24 +05:30
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginHorizontal="10dp"
|
|
|
|
android:layout_weight="1"
|
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
|
|
|
|
2022-11-06 15:56:24 +05:30
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/notification_bell"
|
|
|
|
style="@style/ElevatedIconButton"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
app:icon="@drawable/ic_notification"
|
|
|
|
tools:targetApi="m" />
|
|
|
|
|
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"
|
2022-11-06 15:56:24 +05:30
|
|
|
android:layout_gravity="center"
|
2022-10-19 23:23:18 +05:30
|
|
|
android:layout_marginEnd="8dp"
|
2022-07-15 14:13:17 +05:30
|
|
|
android:stateListAnimator="@null"
|
2022-08-01 12:47:36 +05:30
|
|
|
android:text="@string/unsubscribe"
|
2022-07-11 19:55:47 +05:30
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="12sp"
|
2022-10-19 23:23:18 +05:30
|
|
|
app:cornerRadius="20dp" />
|
2022-11-06 15:56:24 +05:30
|
|
|
</LinearLayout>
|