2019-04-09 19:15:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-16 17:38:52 +00:00
|
|
|
android:id="@+id/notification_item"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:paddingStart="20dp"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:paddingTop="10dp"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:paddingEnd="20dp"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:paddingBottom="10dp">
|
|
|
|
|
|
2023-01-18 13:11:33 +00:00
|
|
|
<com.habitrpg.common.habitica.views.PixelArtView
|
2019-04-09 19:15:44 +00:00
|
|
|
android:id="@+id/notification_image"
|
2023-01-20 13:08:16 +00:00
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginEnd="20dp"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:background="@color/transparent"
|
2023-01-20 13:08:16 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/message_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:lineSpacingExtra="5dp"
|
|
|
|
|
android:text="Message" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/dismiss_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="10dp"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
2019-05-03 12:48:11 +00:00
|
|
|
android:padding="10dp"
|
2019-04-09 19:15:44 +00:00
|
|
|
android:src="@drawable/notification_close" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|