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
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-12-30 01:31:41 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
2015-06-05 00:45:04 +00:00
|
|
|
android:paddingRight="50dp">
|
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"
|
|
|
|
android:layout_width="@dimen/contact_selection_photo_size"
|
|
|
|
android:layout_height="@dimen/contact_selection_photo_size"
|
|
|
|
android:foreground="@drawable/contact_photo_background"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:cropToPadding="true"
|
|
|
|
android:contentDescription="@string/SingleContactSelectionActivity_contact_photo" />
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2015-05-19 21:00:54 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/number_container"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dip"
|
|
|
|
android:layout_marginLeft="14dip"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_toRightOf="@id/contact_photo_image">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/number"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:fontFamily="sans-serif-light" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?contact_selection_label_text"
|
|
|
|
android:fontFamily="sans-serif-light"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-01-19 02:17:08 +00:00
|
|
|
|
|
|
|
<TextView android:id="@+id/name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-05-19 21:00:54 +00:00
|
|
|
android:layout_above="@id/number_container"
|
2014-01-19 02:17:08 +00:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginBottom="1dip"
|
2014-02-07 02:06:23 +00:00
|
|
|
android:layout_marginLeft="14dip"
|
2014-01-19 02:17:08 +00:00
|
|
|
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
2014-03-18 06:25:09 +00:00
|
|
|
android:layout_toRightOf="@id/contact_photo_image"
|
2014-01-19 02:17:08 +00:00
|
|
|
android:gravity="center_vertical|left"
|
2014-03-18 06:25:09 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
2014-01-19 02:17:08 +00:00
|
|
|
|
2014-03-18 06:25:09 +00:00
|
|
|
<CheckBox android:id="@+id/check_box"
|
2014-01-19 02:17:08 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginTop="13dp"
|
|
|
|
android:focusable="false"
|
|
|
|
android:clickable="false" />
|
|
|
|
|
2015-05-19 21:00:54 +00:00
|
|
|
</org.thoughtcrime.securesms.contacts.ContactSelectionListItem>
|