diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-12-18 13:49:44 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-12-19 12:50:17 -0800 |
commit | 29947f0b53eb30c0324204376df001680d4d4ab1 (patch) | |
tree | f5b60c1d10c9f2d00a334f17f536fdcb451d2f00 /res | |
parent | e15e2a8267c677a41bd91eac4d79ee36d467d8d4 (diff) | |
download | android_packages_apps_Trebuchet-29947f0b53eb30c0324204376df001680d4d4ab1.tar.gz android_packages_apps_Trebuchet-29947f0b53eb30c0324204376df001680d4d4ab1.tar.bz2 android_packages_apps_Trebuchet-29947f0b53eb30c0324204376df001680d4d4ab1.zip |
No more waiting around for resume
Apply model updates as son as they arrive instead of waiting for onResume.
Various workspace items do not use any configuration dependent resources.
For Widgets, we wait until the host starts lietening before inflating the actual view.
Change-Id: Icb2f5e5940c1ce6c27062ccd34eff87e80af5ab1
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/bg_deferred_app_widget.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/res/drawable/bg_deferred_app_widget.xml b/res/drawable/bg_deferred_app_widget.xml new file mode 100644 index 000000000..07bae480b --- /dev/null +++ b/res/drawable/bg_deferred_app_widget.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2015, 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. +*/ +--> + +<inset + xmlns:android="http://schemas.android.com/apk/res/android" + android:inset="8dp"> + <color android:color="#77000000" /> +</inset> |