2017-01-23 06:19:30 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-03-08 05:52:17 +01:00
|
|
|
<!--This applies only to favourite and reblog notifications.-->
|
2017-02-13 06:18:17 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-03-07 20:42:01 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-01-23 06:19:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-20 21:34:23 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/notification_container"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:paddingLeft="16dp"
|
2017-03-20 21:34:23 +01:00
|
|
|
android:paddingRight="16dp">
|
2017-01-23 06:19:30 +01:00
|
|
|
|
|
|
|
<RelativeLayout
|
2017-02-13 06:18:17 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-01-23 06:19:30 +01:00
|
|
|
android:layout_height="wrap_content"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:layout_marginTop="8dp"
|
2017-02-13 06:18:17 +01:00
|
|
|
android:id="@+id/notification_top_bar">
|
2017-01-23 06:19:30 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/notification_icon"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:paddingStart="24dp"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:paddingLeft="24dp"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:paddingRight="10dp"
|
2017-04-12 06:21:52 +02:00
|
|
|
app:srcCompat="@drawable/ic_repeat_24dp"
|
|
|
|
android:contentDescription="@null" />
|
2017-01-23 06:19:30 +01:00
|
|
|
|
2017-02-13 06:18:17 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/notification_text"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:textColor="?android:textColorSecondary"
|
2017-02-13 06:18:17 +01:00
|
|
|
android:layout_centerVertical="true"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:text="Someone favourited your status"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:layout_toEndOf="@id/notification_icon"
|
2017-02-13 06:18:17 +01:00
|
|
|
android:layout_toRightOf="@id/notification_icon" />
|
2017-01-23 06:19:30 +01:00
|
|
|
|
2017-02-13 06:18:17 +01:00
|
|
|
</RelativeLayout>
|
2017-01-23 06:19:30 +01:00
|
|
|
|
|
|
|
<TextView
|
2017-03-07 20:42:01 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-01-23 06:19:30 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/notification_content"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:paddingStart="58dp"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:paddingLeft="58dp"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:paddingBottom="10dp"
|
2017-03-07 20:42:01 +01:00
|
|
|
android:text="Example status here"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:textColor="?android:textColorTertiary" />
|
2017-01-23 06:19:30 +01:00
|
|
|
|
2017-02-13 06:18:17 +01:00
|
|
|
</LinearLayout>
|