mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-19 10:32:18 +00:00
Support for a "new messages" divider in conversations
// FREEBIE
This commit is contained in:
23
res/layout/conversation_item_last_seen.xml
Normal file
23
res/layout/conversation_item_last_seen.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:background="@drawable/last_seen_background">
|
||||
|
||||
<TextView android:id="@+id/text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:textSize="12sp"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/last_seen_divider_text_background"
|
||||
tools:text="3 unread messages" />
|
||||
</FrameLayout>
|
Reference in New Issue
Block a user