2017-12-01 06:12:09 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2018-02-04 08:45:14 +11:00
|
|
|
* This is the for folnotificationsEnabledions, the layout for the follows/following listings on account
|
2017-02-27 12:14:13 +11:00
|
|
|
* pages are instead in item_account.xml.
|
|
|
|
-->
|
2017-12-01 06:12:09 +11:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-01-23 16:19:30 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-02-27 12:14:13 +11:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-01 06:12:09 +11:00
|
|
|
android:orientation="vertical"
|
2017-03-08 06:42:01 +11:00
|
|
|
android:paddingBottom="10dp"
|
2017-12-01 06:12:09 +11:00
|
|
|
android:paddingLeft="14dp"
|
|
|
|
android:paddingRight="14dp">
|
2017-02-27 12:14:13 +11:00
|
|
|
|
2018-07-01 23:57:26 +10:00
|
|
|
<android.support.text.emoji.widget.EmojiTextView
|
2017-12-01 06:12:09 +11:00
|
|
|
android:id="@+id/notification_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
2017-03-08 06:42:01 +11:00
|
|
|
android:layout_marginTop="8dp"
|
2017-12-01 06:12:09 +11:00
|
|
|
android:drawablePadding="10dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingStart="28dp"
|
|
|
|
android:textColor="?android:textColorTertiary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2017-12-01 06:12:09 +11:00
|
|
|
tools:text="Someone followed you" />
|
2017-02-27 12:14:13 +11:00
|
|
|
|
2017-12-01 06:12:09 +11:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/notification_avatar"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_below="@+id/notification_text"
|
|
|
|
android:layout_marginEnd="14dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:contentDescription="@string/action_view_profile"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:textSize="?attr/status_text_medium" />
|
2017-02-27 12:14:13 +11:00
|
|
|
|
2018-05-10 19:16:56 +10:00
|
|
|
<android.support.text.emoji.widget.EmojiTextView
|
2017-12-01 06:12:09 +11:00
|
|
|
android:id="@+id/notification_display_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/notification_text"
|
|
|
|
android:layout_toEndOf="@id/notification_avatar"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2017-12-01 06:12:09 +11:00
|
|
|
android:textStyle="normal|bold"
|
|
|
|
tools:text="Test User" />
|
2017-02-27 12:14:13 +11:00
|
|
|
|
2017-12-01 06:12:09 +11:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/notification_username"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/notification_display_name"
|
|
|
|
android:layout_toEndOf="@id/notification_avatar"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2017-12-01 06:12:09 +11:00
|
|
|
tools:text="\@testuser" />
|
2017-02-27 12:14:13 +11:00
|
|
|
|
2017-12-01 06:12:09 +11:00
|
|
|
</RelativeLayout>
|