summaryrefslogtreecommitdiffstats
path: root/res/drawable-v26
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/drawable-v26
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/drawable-v26')
-rw-r--r--res/drawable-v26/ic_deepshortcut_placeholder.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable-v26/ic_deepshortcut_placeholder.xml b/res/drawable-v26/ic_deepshortcut_placeholder.xml
new file mode 100644
index 000000000..3fa85065b
--- /dev/null
+++ b/res/drawable-v26/ic_deepshortcut_placeholder.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="?attr/popupColorSecondary"/>
+ <foreground android:drawable="?attr/popupColorSecondary"/>
+</adaptive-icon>