summaryrefslogtreecommitdiffstats
path: root/go/quickstep/res
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-04-08 16:34:19 -0700
committerKevin Han <kevhan@google.com>2019-04-23 00:42:49 +0000
commite6e1463ed29f650f46f6d97ff1a5d75cb56f2f50 (patch)
tree604fa1bb86863f27480e5279dacd1797dc840962 /go/quickstep/res
parent736982d74bc79483246d7cb74962d0d7e99423cc (diff)
downloadandroid_packages_apps_Trebuchet-e6e1463ed29f650f46f6d97ff1a5d75cb56f2f50.tar.gz
android_packages_apps_Trebuchet-e6e1463ed29f650f46f6d97ff1a5d75cb56f2f50.tar.bz2
android_packages_apps_Trebuchet-e6e1463ed29f650f46f6d97ff1a5d75cb56f2f50.zip
Add task layer drawable class for Recents Go.
Add a custom drawable class that provides a hook to the caller to control a crossfade animation between two drawables. This will be helpful going forward to sync up all the animations to the controller. Note that this CL only adds the class and does not replace the current implementation. Bug: 114136250 Test: Builds Change-Id: I3cc6be79cb2ca5d64c8cc2945ff7f2ebd49632b6 (cherry picked from commit bb956bd02887f1cfc1ab0f193bc47d77f53238b4)
Diffstat (limited to 'go/quickstep/res')
-rw-r--r--go/quickstep/res/drawable/empty_content_box.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/go/quickstep/res/drawable/empty_content_box.xml b/go/quickstep/res/drawable/empty_content_box.xml
new file mode 100644
index 000000000..a4883889f
--- /dev/null
+++ b/go/quickstep/res/drawable/empty_content_box.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2019 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.
+-->
+<shape
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="@android:color/transparent"/>
+ <stroke android:color="@android:color/white" android:width="4px"/>
+ <corners android:radius="2dp"/>
+</shape> \ No newline at end of file