summaryrefslogtreecommitdiffstats
path: root/res/layout/pick_contact_item.xml
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2014-09-07 14:24:56 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-12-10 22:07:59 +0000
commit36db90bbcc83a557d8e3cce62abb5ac5d9b0ff57 (patch)
tree38dedc0e279544d93cb3d42572b2503a24c0628c /res/layout/pick_contact_item.xml
parent0e855487ae4a5424a2e30ddcac9ea27aa96f1a15 (diff)
downloadpackages_apps_Contacts-36db90bbcc83a557d8e3cce62abb5ac5d9b0ff57.tar.gz
packages_apps_Contacts-36db90bbcc83a557d8e3cce62abb5ac5d9b0ff57.tar.bz2
packages_apps_Contacts-36db90bbcc83a557d8e3cce62abb5ac5d9b0ff57.zip
Clean up multi picker activity.
Change-Id: Id8d66cf3ff5f806a053f40bd4d8db453ab292219
Diffstat (limited to 'res/layout/pick_contact_item.xml')
-rw-r--r--res/layout/pick_contact_item.xml61
1 files changed, 15 insertions, 46 deletions
diff --git a/res/layout/pick_contact_item.xml b/res/layout/pick_contact_item.xml
index 6d9142b32..57569e6f5 100644
--- a/res/layout/pick_contact_item.xml
+++ b/res/layout/pick_contact_item.xml
@@ -27,49 +27,18 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:minHeight="?android:attr/listPreferredItemHeight"
- android:paddingTop="3dip"
- android:paddingBottom="3dip"
- >
- <ImageView android:layout_width="@dimen/contact_browser_list_item_photo_size"
- android:layout_height="@dimen/contact_browser_list_item_photo_size"
- android:layout_marginStart="10dip"
- android:layout_marginEnd="5dip"
- android:layout_marginTop="5dip"
- android:visibility="gone"
- android:id="@+id/pick_contact_photo"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toEndOf="@id/pick_contact_photo"
- android:layout_marginStart="10dip"
- android:layout_marginEnd="50dip"
- android:layout_marginTop="5dip"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:id="@+id/pick_contact_name">
- </TextView>
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_below="@id/pick_contact_name"
- android:layout_marginStart="10dip"
- android:layout_marginBottom="5dip"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:id="@+id/pick_contact_number"
- android:singleLine="true">
- </TextView>
- <CheckBox
- android:id="@+id/pick_contact_check"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="10dip"
- android:layout_centerVertical="true"
- android:layout_alignParentEnd="true"
- android:focusable="false"
- android:clickable="false">
- </CheckBox>
-</RelativeLayout>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:descendantFocusability="blocksDescendants">
+
+ <com.android.contacts.common.list.ContactListItemView
+ android:id="@+id/contact"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dip"
+ android:layout_gravity="center_vertical" />
+
+</FrameLayout>