summaryrefslogtreecommitdiff
path: root/res/drawable-v31
diff options
context:
space:
mode:
authorSteven Ng <stevenckng@google.com>2021-07-27 16:52:20 +0100
committerSteven Ng <stevenckng@google.com>2021-07-27 17:11:35 +0100
commit522c1506f1f2746cf582878b89b3647afa5bb439 (patch)
tree43149f539ee64a9b45050c5c89695ea980a81d36 /res/drawable-v31
parent9899ba5b7121e4df7bcb80521d137000a534ca1c (diff)
downloadLauncher3-522c1506f1f2746cf582878b89b3647afa5bb439.tar.gz
Do not allow add view in DeferredAppWidgetHostView
Also set rounded corners to DeferredAppWidgetHostView Test: manual Fix: 193885118 Change-Id: I663b5b4a50da1f2348be1792923ee73fe8e6a2e8
Diffstat (limited to 'res/drawable-v31')
-rw-r--r--res/drawable-v31/bg_deferred_app_widget.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/drawable-v31/bg_deferred_app_widget.xml b/res/drawable-v31/bg_deferred_app_widget.xml
new file mode 100644
index 0000000000..a08998de7b
--- /dev/null
+++ b/res/drawable-v31/bg_deferred_app_widget.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2021 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">
+ <shape android:shape="rectangle">
+ <corners android:radius="@android:dimen/system_app_widget_background_radius" />
+ <solid android:color="#77000000" />
+ </shape>
+</inset>