mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-27 02:07:42 +00:00
12dac6ccc3
// FREEBIE
45 lines
1.8 KiB
XML
45 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.ShareListItem
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<org.thoughtcrime.securesms.components.ForegroundImageView
|
|
android:id="@+id/contact_photo_image"
|
|
android:foreground="@drawable/contact_photo_background"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:cropToPadding="true"
|
|
android:scaleType="centerCrop"
|
|
android:contentDescription="@string/SingleContactSelectionActivity_contact_photo" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dip"
|
|
android:layout_marginLeft="4dip"
|
|
android:layout_marginRight="8dip"
|
|
android:layout_marginBottom="4dip"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toRightOf="@id/contact_photo_image"
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:id="@+id/from"
|
|
android:layout_weight="1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?attr/conversation_list_item_contact_color"
|
|
android:singleLine="true"
|
|
android:gravity="bottom"
|
|
android:ellipsize="marquee" />
|
|
|
|
</LinearLayout>
|
|
</org.thoughtcrime.securesms.ShareListItem>
|