summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2014-09-01 07:29:23 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-09-01 07:29:23 +0000
commit4f8de96bb1fb70b68ecbff717062a5cc55a5fb8a (patch)
treec06883388356f1d79dd6ab686e003c7185f9b61e
parent76705b13fadc574fbcc9418c148566d254d1df98 (diff)
parent3bdabb0e422c61f6696c4d1a7a606a3096bab6de (diff)
downloadandroid_packages_apps_Calendar-4f8de96bb1fb70b68ecbff717062a5cc55a5fb8a.tar.gz
android_packages_apps_Calendar-4f8de96bb1fb70b68ecbff717062a5cc55a5fb8a.tar.bz2
android_packages_apps_Calendar-4f8de96bb1fb70b68ecbff717062a5cc55a5fb8a.zip
Merge "Improve delete list item layout." into cm-11.0
-rw-r--r--res/layout/event_list_item.xml23
1 files changed, 9 insertions, 14 deletions
diff --git a/res/layout/event_list_item.xml b/res/layout/event_list_item.xml
index 2fc7f5e7..17c22e41 100644
--- a/res/layout/event_list_item.xml
+++ b/res/layout/event_list_item.xml
@@ -31,45 +31,40 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:paddingTop="2dp"
+ android:paddingBottom="2dp"
android:background="?android:attr/activatedBackgroundIndicator">
<CheckBox
android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:layout_centerVertical="true"
- android:clickable="false"
- android:focusable="false" >
- </CheckBox>
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp" />
<TextView
android:id="@+id/event_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_toRightOf="@id/checkbox"
- android:focusable="false"
+ android:layout_toEndOf="@id/checkbox"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:textStyle="bold" >
- </TextView>
+ android:textStyle="bold" />
<TextView
android:id="@+id/event_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/event_title"
- android:layout_toRightOf="@id/checkbox"
- android:focusable="false" >
- </TextView>
+ android:layout_toEndOf="@id/checkbox" />
<TextView
android:id="@+id/calendar_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/event_time"
- android:layout_toRightOf="@id/checkbox"
- android:focusable="false" >
- </TextView>
+ android:layout_toEndOf="@id/checkbox" />
</RelativeLayout>