summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorZak Cohen <zakcohen@google.com>2018-10-24 13:26:47 -0700
committerZak Cohen <zakcohen@google.com>2018-10-26 11:25:58 -0700
commitcc4c61472e53838946af48de926b76dbf6bc4a36 (patch)
tree03d2198b99a7c2c250aa37400024fd250b0f9aec /res/values
parent2c8927889544556a3b13d77130076e2d0f862f43 (diff)
downloadandroid_packages_apps_Trebuchet-cc4c61472e53838946af48de926b76dbf6bc4a36.tar.gz
android_packages_apps_Trebuchet-cc4c61472e53838946af48de926b76dbf6bc4a36.tar.bz2
android_packages_apps_Trebuchet-cc4c61472e53838946af48de926b76dbf6bc4a36.zip
DeepShortcut - show loading placeholder before content is available.
Sometimes the deep shortcuts can take time to load, show an initial loading state before any text is set. Note: changed singleLine to lines=1 as the former causes issues with RTL layout and is deprecated. Bug: 78620208 Tested: manual test on pixel 3 Change-Id: I782addb8d64425a1a95cee4f104fc0bd44809815
Diffstat (limited to 'res/values')
-rw-r--r--res/values/styles.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 7b11891a6..e6791aa29 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -144,7 +144,7 @@
<item name="android:layout_gravity">center</item>
<item name="android:focusable">true</item>
<item name="android:gravity">center_horizontal</item>
- <item name="android:singleLine">true</item>
+ <item name="android:lines">1</item>
<item name="android:textColor">?android:attr/textColorSecondary</item>
<item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:defaultFocusHighlightEnabled">false</item>