mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
76ac95756f
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
20 lines
952 B
XML
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> |