session-android/res/layout/conversation_item_last_seen.xml
haffenloher 76ac95756f Fix last seen divider crash on Android <5.0
Apparently, it's not possible to reference an attribute in an xml
drawable on API <21, so we have to use separate light and dark theme
drawables instead.

Closes #6285
2017-02-22 17:57:42 +01:00

20 lines
952 B
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:layout_marginBottom="5dp"
android:background="?conversation_item_last_seen_background">
<TextView android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="12sp"
android:textAllCaps="true"
android:textStyle="bold"
android:background="?conversation_item_last_seen_text_background"
tools:text="3 unread messages" />
</FrameLayout>