From dc09381d0dce1175f9f20cafa59278b823afdc69 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 31 Dec 2017 13:55:46 +0100 Subject: [PATCH] make the the Type fields at Contact activity are centered vertically --- app/src/main/res/layout/item_email.xml | 1 + app/src/main/res/layout/item_event.xml | 1 + app/src/main/res/layout/item_phone_number.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/app/src/main/res/layout/item_email.xml b/app/src/main/res/layout/item_email.xml index dab4bb87..921e7b2e 100644 --- a/app/src/main/res/layout/item_email.xml +++ b/app/src/main/res/layout/item_email.xml @@ -28,6 +28,7 @@ android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_alignTop="@+id/contact_email" + android:layout_centerVertical="true" android:background="?attr/selectableItemBackground" android:gravity="center" android:paddingLeft="@dimen/medium_margin" diff --git a/app/src/main/res/layout/item_event.xml b/app/src/main/res/layout/item_event.xml index 542ff42d..9d3c11c5 100644 --- a/app/src/main/res/layout/item_event.xml +++ b/app/src/main/res/layout/item_event.xml @@ -46,6 +46,7 @@ android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_alignTop="@+id/contact_event" + android:layout_centerVertical="true" android:background="?attr/selectableItemBackground" android:gravity="center" android:paddingLeft="@dimen/medium_margin" diff --git a/app/src/main/res/layout/item_phone_number.xml b/app/src/main/res/layout/item_phone_number.xml index ed0a0adf..3eb2708c 100644 --- a/app/src/main/res/layout/item_phone_number.xml +++ b/app/src/main/res/layout/item_phone_number.xml @@ -28,6 +28,7 @@ android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_alignTop="@+id/contact_number" + android:layout_centerVertical="true" android:background="?attr/selectableItemBackground" android:gravity="center" android:paddingLeft="@dimen/medium_margin"