ntfy-android/app/src/main/res/layout/main_fragment_item.xml

33 lines
1.6 KiB
XML
Raw Normal View History

2021-10-26 06:45:56 +13:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-10-31 16:17:08 +13:00
xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-10-29 04:45:34 +13:00
android:background="?android:attr/selectableItemBackground"
2021-10-31 16:17:08 +13:00
android:orientation="horizontal" android:clickable="true" android:focusable="true">
<ImageView
android:layout_width="35dp"
2021-11-02 03:56:57 +13:00
android:layout_height="match_parent" app:srcCompat="@drawable/ic_sms_gray_24dp"
2021-10-31 16:17:08 +13:00
android:id="@+id/topic_image" android:layout_marginStart="20dp"/>
<LinearLayout
android:orientation="vertical"
2021-10-26 06:45:56 +13:00
android:layout_width="match_parent"
2021-10-31 16:17:08 +13:00
android:layout_height="match_parent">
<TextView
android:text="ntfy.sh/example"
android:layout_width="match_parent"
2021-11-01 08:19:25 +13:00
android:layout_height="wrap_content" android:id="@+id/main_item_text"
android:layout_marginTop="10dp" android:layout_marginStart="12dp"
2021-10-31 16:17:08 +13:00
android:textColor="@color/primaryTextColor"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/>
<TextView
android:text="Subscribed, 0 notifications"
android:layout_width="match_parent"
2021-11-01 08:19:25 +13:00
android:layout_height="wrap_content" android:id="@+id/main_item_status"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:layout_marginStart="12dp"
android:layout_marginBottom="10dp"/>
2021-10-31 16:17:08 +13:00
</LinearLayout>
2021-10-26 06:45:56 +13:00
</LinearLayout>