summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2019-04-05 16:22:55 -0700
committerHyunyoung Song <hyunyoungs@google.com>2019-04-09 00:27:07 +0000
commit2aec9c42f52c9ca1a075220205a7721d2f864a2b (patch)
tree0b500833498e462a23e1af07f0bead0bfbe699a6 /res
parent2a059c7802c68ffbccbde00b6036b8cbd2b04a7d (diff)
downloadandroid_packages_apps_Trebuchet-2aec9c42f52c9ca1a075220205a7721d2f864a2b.tar.gz
android_packages_apps_Trebuchet-2aec9c42f52c9ca1a075220205a7721d2f864a2b.tar.bz2
android_packages_apps_Trebuchet-2aec9c42f52c9ca1a075220205a7721d2f864a2b.zip
Change task view / all apps/ widgets / folder radius to dialogCornerRadius
Bug: 123985787 Change-Id: Iaa8088beb51d37dba90d57ad065f9eac0dd46270
Diffstat (limited to 'res')
-rw-r--r--res/drawable-v28/round_rect_primary.xml21
-rw-r--r--res/drawable-v28/top_round_rect_primary.xml26
-rw-r--r--res/values/dimens.xml4
3 files changed, 51 insertions, 0 deletions
diff --git a/res/drawable-v28/round_rect_primary.xml b/res/drawable-v28/round_rect_primary.xml
new file mode 100644
index 000000000..53679ed1b
--- /dev/null
+++ b/res/drawable-v28/round_rect_primary.xml
@@ -0,0 +1,21 @@
+<?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:attr/colorPrimary" />
+ <corners android:radius="?android:attr/dialogCornerRadius" />
+</shape>
diff --git a/res/drawable-v28/top_round_rect_primary.xml b/res/drawable-v28/top_round_rect_primary.xml
new file mode 100644
index 000000000..5c40df76d
--- /dev/null
+++ b/res/drawable-v28/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="?android:attr/dialogCornerRadius"
+ android:topRightRadius="?android:attr/dialogCornerRadius"
+ android:bottomLeftRadius="0dp"
+ android:bottomRightRadius="0dp"
+ />
+</shape>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 7804133bb..469b176fb 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -235,4 +235,8 @@
<!-- Hints -->
<dimen name="chip_hint_height">26dp</dimen>
<dimen name="chip_hint_bottom_margin">194dp</dimen>
+
+<!-- Theming related -->
+ <dimen name="default_dialog_corner_radius">8dp</dimen>
+
</resources>