summaryrefslogtreecommitdiff
path: root/car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml
diff options
context:
space:
mode:
Diffstat (limited to 'car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml')
-rw-r--r--car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml b/car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml
new file mode 100644
index 0000000..2717321
--- /dev/null
+++ b/car-qc-lib/res/drawable/qc_toggle_rotary_shadow.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2022 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.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:state_pressed="false">
+ <shape android:shape="rectangle">
+ <stroke android:width="@dimen/qc_toggle_rotary_shadow_width"
+ android:color="@color/qc_toggle_rotary_shadow_color"/>
+ <corners android:radius="@dimen/qc_toggle_rotary_shadow_radius" />
+ </shape>
+ </item>
+</selector> \ No newline at end of file