summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorLujiang Xue <rogerxue@google.com>2018-06-06 10:04:12 -0700
committerLujiang Xue <rogerxue@google.com>2018-07-10 09:57:09 -0700
commitd9c638109b95a96c16bbe2ec5ffeafedb7287bc9 (patch)
tree5d8517b0f22ccc0483f8f6e8db96e6a67d9deb1e /res/drawable
parent7b346256b7e49c69fd765949b1876842e8da3b76 (diff)
downloadandroid_packages_apps_PackageInstaller-d9c638109b95a96c16bbe2ec5ffeafedb7287bc9.tar.gz
android_packages_apps_PackageInstaller-d9c638109b95a96c16bbe2ec5ffeafedb7287bc9.tar.bz2
android_packages_apps_PackageInstaller-d9c638109b95a96c16bbe2ec5ffeafedb7287bc9.zip
remove dependency on car-list
Bug: 109810925 Test: manually Change-Id: I45891ac2b3e20a8069df0d4511323c992316294c
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/button_ripple_bg.xml23
-rw-r--r--res/drawable/rectangle_ripple_mask.xml22
2 files changed, 45 insertions, 0 deletions
diff --git a/res/drawable/button_ripple_bg.xml b/res/drawable/button_ripple_bg.xml
new file mode 100644
index 00000000..dabacb10
--- /dev/null
+++ b/res/drawable/button_ripple_bg.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="@color/car_card_ripple_background"
+ android:radius="90dp">
+ <item android:id="@android:id/mask"
+ android:drawable="@drawable/rectangle_ripple_mask" />
+</ripple>
diff --git a/res/drawable/rectangle_ripple_mask.xml b/res/drawable/rectangle_ripple_mask.xml
new file mode 100644
index 00000000..69eaf8bd
--- /dev/null
+++ b/res/drawable/rectangle_ripple_mask.xml
@@ -0,0 +1,22 @@
+<?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">
+ <corners android:radius="@dimen/car_radius_1" />
+ <solid android:color="@android:color/white" />
+</shape> \ No newline at end of file