2014-01-19 02:17:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2015-05-19 21:00:54 +00:00
|
|
|
<org.thoughtcrime.securesms.contacts.ContactSelectionListItem
|
2015-11-03 01:40:41 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2017-04-24 02:50:45 +00:00
|
|
|
android:layout_height="60dp"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical"
|
2015-07-09 15:03:45 +00:00
|
|
|
android:focusable="true"
|
|
|
|
android:background="@drawable/conversation_item_background"
|
2019-07-24 00:09:02 +00:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="8dp">
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2015-06-23 22:10:50 +00:00
|
|
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
|
|
|
android:id="@+id/contact_photo_image"
|
2017-04-27 23:39:52 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2015-06-23 22:10:50 +00:00
|
|
|
android:foreground="@drawable/contact_photo_background"
|
|
|
|
android:cropToPadding="true"
|
2015-11-23 23:07:41 +00:00
|
|
|
tools:src="@color/blue_600"
|
2015-06-23 22:10:50 +00:00
|
|
|
android:contentDescription="@string/SingleContactSelectionActivity_contact_photo" />
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
<LinearLayout android:layout_width="0dp"
|
2015-05-19 21:00:54 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:layout_weight="1"
|
2017-04-24 02:50:45 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:orientation="vertical">
|
2015-05-19 21:00:54 +00:00
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textSize="16sp"
|
|
|
|
tools:text="Frieeeeeeedrich Nieeeeeeeeeetzsche" />
|
2015-05-19 21:00:54 +00:00
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
<LinearLayout android:id="@+id/number_container"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
<TextView android:id="@+id/number"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-11-26 18:04:27 +00:00
|
|
|
android:textDirection="ltr"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
tools:text="+1 (555) 555-5555" />
|
|
|
|
|
|
|
|
<TextView android:id="@+id/label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-11-26 18:04:27 +00:00
|
|
|
android:paddingStart="10dip"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
tools:text="Mobile" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2014-03-18 06:25:09 +00:00
|
|
|
<CheckBox android:id="@+id/check_box"
|
2015-11-03 01:40:41 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:focusable="false"
|
|
|
|
android:clickable="false" />
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2015-05-19 21:00:54 +00:00
|
|
|
</org.thoughtcrime.securesms.contacts.ContactSelectionListItem>
|