summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-11-11 18:47:56 -0800
committerAndrew Lee <anwlee@google.com>2014-11-11 18:47:56 -0800
commitcc69fa4943cffd59030421e7e492ce34cb8086c3 (patch)
treef076290f65f51e930bf8230dc4483331f3212d90 /res
parent050e2a8d5aef356b7b7b35ab5242669dd7a79dfd (diff)
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
Diffstat (limited to 'res')
-rw-r--r--res/layout/empty_list_view.xml4
1 files changed, 3 insertions, 1 deletions
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" />
</LinearLayout>