diff options
author | Andrew Lee <anwlee@google.com> | 2014-11-11 18:47:56 -0800 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-11-11 18:47:56 -0800 |
commit | cc69fa4943cffd59030421e7e492ce34cb8086c3 (patch) | |
tree | f076290f65f51e930bf8230dc4483331f3212d90 | |
parent | 050e2a8d5aef356b7b7b35ab5242669dd7a79dfd (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
-rw-r--r-- | res/layout/empty_list_view.xml | 4 |
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> |