summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2018-02-13 16:18:19 -0800
committerJon Miranda <jonmiranda@google.com>2018-02-13 16:18:19 -0800
commit84e2436220c5141748daea201ee367f22d258c89 (patch)
treecff99628de1d6365c2e0e9159424e94339e21e30 /res/drawable
parent62388becd07f19d7857024969b35af666eb6c5d7 (diff)
downloadandroid_packages_apps_Trebuchet-84e2436220c5141748daea201ee367f22d258c89.tar.gz
android_packages_apps_Trebuchet-84e2436220c5141748daea201ee367f22d258c89.tar.bz2
android_packages_apps_Trebuchet-84e2436220c5141748daea201ee367f22d258c89.zip
Update widget full sheet / bottom sheet to have top rounded corners.
Bug: 71775241 Change-Id: I11b5adc555f48f44cf8167e8699cae1dfe164736
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/round_rect_primary.xml2
-rw-r--r--res/drawable/top_round_rect_primary.xml26
2 files changed, 27 insertions, 1 deletions
diff --git a/res/drawable/round_rect_primary.xml b/res/drawable/round_rect_primary.xml
index 9f8f4da48..16310f8bd 100644
--- a/res/drawable/round_rect_primary.xml
+++ b/res/drawable/round_rect_primary.xml
@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?android:attr/colorPrimary" />
- <corners android:radius="8dp" />
+ <corners android:radius="@dimen/bg_round_rect_radius" />
</shape>
diff --git a/res/drawable/top_round_rect_primary.xml b/res/drawable/top_round_rect_primary.xml
new file mode 100644
index 000000000..1caaa026f
--- /dev/null
+++ b/res/drawable/top_round_rect_primary.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2018 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:attr/colorPrimary" />
+ <corners
+ android:topLeftRadius="@dimen/bg_round_rect_radius"
+ android:topRightRadius="@dimen/bg_round_rect_radius"
+ android:bottomLeftRadius="0dp"
+ android:bottomRightRadius="0dp"
+ />
+</shape>