diff options
author | steckbrief <steckbrief@chefmail.de> | 2017-08-02 11:49:12 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2017-08-02 11:51:37 +0200 |
commit | 8c5208bacd95ebd1ad6a6c192e536fd1ed47bfe2 (patch) | |
tree | 7cef44d8f2c1e075f59dee51b477f9c7ea9f47d4 /src/main/res/layout | |
parent | a9491140276305b3c45f675e765e17111362b7c3 (diff) |
Implements FS#247 and FS#248: Show online status and typing notification in title
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/actionbar_title.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/res/layout/actionbar_title.xml b/src/main/res/layout/actionbar_title.xml new file mode 100644 index 00000000..b2d25ed3 --- /dev/null +++ b/src/main/res/layout/actionbar_title.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="start|center_vertical"> + + <github.ankushsachdeva.emojicon.EmojiconTextView + android:id="@+id/abTitle" + style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ellipsize="end" + android:gravity="start|center_vertical" + android:paddingTop="1dp" + android:scrollHorizontally="true" + android:singleLine="true" + android:textColor="@color/grey200" /> + + <github.ankushsachdeva.emojicon.EmojiconTextView + android:id="@+id/abSubstitle" + style="@style/Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:singleLine="true" + android:ellipsize="end" + android:scrollHorizontally="true" + android:layout_below="@id/abTitle" + android:textSize="12sp" + android:textColor="@color/grey50" + android:gravity="start|center_vertical" + android:paddingBottom="1dp" /> + +</RelativeLayout>
\ No newline at end of file |