From cc69fa4943cffd59030421e7e492ce34cb8086c3 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 11 Nov 2014 18:47:56 -0800 Subject: Add padding around empty list text view. After removing newlines from the string, it's going to the edge of the string because it's pretty long. We don't want to do newlines this way because it makes life harder for translations, which could well be shorter and fit on one line. Bug: 17446974 Change-Id: Ie758668c2b70f82916993017fa5c3611c150f257 --- res/layout/empty_list_view.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/layout/empty_list_view.xml b/res/layout/empty_list_view.xml index 40f58bd8a..0313b0073 100644 --- a/res/layout/empty_list_view.xml +++ b/res/layout/empty_list_view.xml @@ -40,7 +40,9 @@ android:minHeight="84dp" android:gravity="center_horizontal|top" android:textSize="@dimen/empty_list_message_text_size" - android:textColor="@color/empty_list_text_color" /> + android:textColor="@color/empty_list_text_color" + android:paddingRight="16dp" + android:paddingLeft="16dp" /> -- cgit v1.2.3