summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Liang <cathliang@google.com>2023-06-12 17:44:04 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-12 17:44:04 +0000
commit71894d83ff91d815621395d7badc9d367dd9d1c9 (patch)
tree28a029da7c0f383c5902ad67f05e8bdb775aca6b
parentede6dbc1ff3091715f38e17e9c77f728baf15bc8 (diff)
parentc1e062b9e756c5aa813b198bb49afbf317092e87 (diff)
downloadThemePicker-71894d83ff91d815621395d7badc9d367dd9d1c9.tar.gz
Merge "Clock text adjustment for large text (2/2)" into udc-dev am: c1e062b9e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/23412581 Change-Id: I242c497447c9d01395c5e40a8891f394ac1a24d9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--res/layout/clock_color_option.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/layout/clock_color_option.xml b/res/layout/clock_color_option.xml
index f27c13d2..786d6338 100644
--- a/res/layout/clock_color_option.xml
+++ b/res/layout/clock_color_option.xml
@@ -30,8 +30,11 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/option_bottom_margin"
android:textColor="@color/text_color_primary"
+ android:maxLines="2"
+ android:hyphenationFrequency="normal"
+ android:ellipsize="end"
android:visibility="invisible"
- android:gravity="center"
+ android:gravity="center_horizontal"
android:text="Placeholder for stable size calculation, please do not remove."
tools:ignore="HardcodedText" />
</LinearLayout>