mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.DeviceListItem
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:text="Name"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?attr/conversation_list_item_contact_color"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/shortId"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:text="shortId"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#A2A2A2"
|
|
android:textSize="14sp" />
|
|
|
|
</org.thoughtcrime.securesms.DeviceListItem> |