mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
70 lines
2.8 KiB
XML
70 lines
2.8 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<!-- Copyright (C) 2025 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">
|
||
|
|
<!-- top left -->
|
||
|
|
<item>
|
||
|
|
<shape android:shape="rectangle">
|
||
|
|
<gradient
|
||
|
|
android:type="radial"
|
||
|
|
android:gradientRadius="@dimen/taskbar_nudge_glow_radius_percent"
|
||
|
|
android:startColor="@color/nudge_pill_color1"
|
||
|
|
android:endColor="@android:color/transparent"
|
||
|
|
android:centerX="0.05" android:centerY="0.05" />
|
||
|
|
<corners android:radius="@dimen/rounded_button_radius" /> </shape>
|
||
|
|
</item>
|
||
|
|
<!-- bottom right -->
|
||
|
|
<item>
|
||
|
|
<shape android:shape="rectangle">
|
||
|
|
<gradient
|
||
|
|
android:type="radial"
|
||
|
|
android:gradientRadius="@dimen/taskbar_nudge_glow_radius_percent"
|
||
|
|
android:startColor="@color/nudge_pill_color2"
|
||
|
|
android:endColor="@android:color/transparent"
|
||
|
|
android:centerX="0.95" android:centerY="0.95" />
|
||
|
|
<corners android:radius="@dimen/rounded_button_radius" /> </shape>
|
||
|
|
</item>
|
||
|
|
<!-- top right -->
|
||
|
|
<item>
|
||
|
|
<shape android:shape="rectangle">
|
||
|
|
<gradient
|
||
|
|
android:type="radial"
|
||
|
|
android:gradientRadius="@dimen/taskbar_nudge_glow_radius_percent"
|
||
|
|
android:startColor="@color/nudge_pill_color3"
|
||
|
|
android:endColor="@android:color/transparent"
|
||
|
|
android:centerX="0.95" android:centerY="0.05" />
|
||
|
|
<corners android:radius="@dimen/rounded_button_radius" /> </shape>
|
||
|
|
</item>
|
||
|
|
<!-- bottom left -->
|
||
|
|
<item>
|
||
|
|
<shape android:shape="rectangle">
|
||
|
|
<gradient
|
||
|
|
android:type="radial"
|
||
|
|
android:gradientRadius="@dimen/taskbar_nudge_glow_radius_percent"
|
||
|
|
android:startColor="@color/nudge_pill_color4"
|
||
|
|
android:endColor="@android:color/transparent"
|
||
|
|
android:centerX="0.05" android:centerY="0.95" />
|
||
|
|
<corners android:radius="@dimen/rounded_button_radius" /> </shape>
|
||
|
|
</item>
|
||
|
|
|
||
|
|
<item android:id="@android:id/background">
|
||
|
|
<shape android:shape="rectangle">
|
||
|
|
<corners android:radius="@dimen/rounded_button_radius" />
|
||
|
|
<stroke
|
||
|
|
android:width="@dimen/work_apps_paused_button_stroke"
|
||
|
|
android:color="@android:color/white" />
|
||
|
|
</shape>
|
||
|
|
</item>
|
||
|
|
</layer-list>
|