overlays: brightness: Simplify brightness thumb drawable
Change-Id: Idc59fca679231971565106546b56b12f9920a6c3
diff --git a/brightness/BrightnessSliderThin/res/drawable/brightness_progress_full_drawable_thin.xml b/brightness/BrightnessSliderThin/res/drawable/brightness_progress_full_drawable_thin.xml
index 5d483cf..704d807 100644
--- a/brightness/BrightnessSliderThin/res/drawable/brightness_progress_full_drawable_thin.xml
+++ b/brightness/BrightnessSliderThin/res/drawable/brightness_progress_full_drawable_thin.xml
@@ -11,5 +11,11 @@
<solid android:color="?android:colorAccent" />
</shape>
</item>
- <item android:gravity="end|center" android:drawable="@drawable/ic_brightness_thumb" />
+ <item android:gravity="end|center">
+ <shape>
+ <corners android:radius="10.0dip" />
+ <size android:height="14.0dip" android:width="14.0dip" />
+ <solid android:color="?android:colorAccent" />
+ </shape>
+ </item>
</layer-list>
diff --git a/brightness/BrightnessSliderThin/res/drawable/ic_brightness_thumb.xml b/brightness/BrightnessSliderThin/res/drawable/ic_brightness_thumb.xml
deleted file mode 100644
index 2f4af8f..0000000
--- a/brightness/BrightnessSliderThin/res/drawable/ic_brightness_thumb.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2023 The LeafOS Project
- SPDX-License-Identifier: Apache-2.0
--->
-<vector android:tint="?android:colorAccent" android:height="14.0dip" android:width="14.0dip" android:viewportWidth="42.0" android:viewportHeight="42.0"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <path android:fillColor="#ffffffff" android:pathData="M 21 0 C 32.5979797464 0 42 9.40202025355 42 21 C 42 32.5979797464 32.5979797464 42 21 42 C 9.40202025355 42 0 32.5979797464 0 21 C 0 9.40202025355 9.40202025355 0 21 0 Z" android:strokeWidth="1.0" />
-</vector>