Files
app_Settings/res/drawable/accessibility_qs_tooltips_background.xml
menghanli 68587a2177 Apply dynamic color for accessibility quick settings tooltips
Bug: 210353709
Test: Manual test by different theme color
Change-Id: If4e9456ea04b44a80c7e9b2bc52aeae770bd8381
2022-01-19 10:29:11 +08:00

39 lines
1.4 KiB
XML

<?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.
-->
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="8dp">
<shape
android:shape="rectangle">
<solid android:color="@*android:color/accent_primary_device_default"/>
<corners android:radius="28dp" />
<padding android:top="8dp" />
</shape>
</item>
<item
android:width="12dp"
android:height="12dp"
android:gravity="top|center_horizontal"
android:top="-6dp">
<rotate android:fromDegrees="45">
<shape android:shape="rectangle">
<solid android:color="@*android:color/accent_primary_device_default"/>
</shape>
</rotate>
</item>
</layer-list>