aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Patterson <jdp@google.com>2020-08-27 10:24:42 +0200
committerJohn Patterson <jdp@google.com>2020-10-15 13:08:32 +0000
commit475ce02462bdeb3583c335026c9f5a4a115d7a8f (patch)
treeb4bbff1890d6090119b57774d9e4fd67e320fe2f
parent8006d808a63752a7f2318fc71e7ca1fc09d67c78 (diff)
downloadCalendar-475ce02462bdeb3583c335026c9f5a4a115d7a8f.tar.gz
Restrict max width of no events message.
Bug: 160557633 Test: manually verified text width looks better. Change-Id: I2459dc9b667bd6797b95c8d084d121cc7a8b79f6
-rw-r--r--res/layout/calendar.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/calendar.xml b/res/layout/calendar.xml
index 4c31ddc..56de478 100644
--- a/res/layout/calendar.xml
+++ b/res/layout/calendar.xml
@@ -36,6 +36,7 @@
<TextView
android:id="@+id/no_events_text"
+ android:maxWidth="200dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/car_ui_list_item_start_inset"