keyhandler: Move Alert Slider to Sound settings and remove icon
This commit is contained in:
@@ -47,15 +47,9 @@
|
||||
<intent-filter>
|
||||
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
||||
</intent-filter>
|
||||
<meta-data
|
||||
android:name="com.android.settings.summary"
|
||||
android:resource="@string/alert_slider_summary" />
|
||||
<meta-data
|
||||
android:name="com.android.settings.icon"
|
||||
android:resource="@drawable/ic_alter_slider" />
|
||||
<meta-data
|
||||
android:name="com.android.settings.category"
|
||||
android:value="com.android.settings.category.ia.system" />
|
||||
android:value="com.android.settings.category.ia.sound" />
|
||||
</activity>
|
||||
|
||||
<service
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2024 YAAP
|
||||
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.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
|
||||
<!-- Top Slider Track -->
|
||||
<path
|
||||
android:fillColor="@color/slider_track_color"
|
||||
android:pathData="M3,7h18v2H3z" />
|
||||
|
||||
<!-- Bottom Slider Track -->
|
||||
<path
|
||||
android:fillColor="@color/slider_track_color"
|
||||
android:pathData="M3,15h18v2H3z" />
|
||||
|
||||
<!-- Slider Thumb (Oval) -->
|
||||
<path
|
||||
android:fillColor="@color/slider_thumb_color"
|
||||
android:pathData="M9.6,12a2.4,1.2 0 1,1 4.8,0a2.4,1.2 0 1,1 -4.8,0" />
|
||||
</vector>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!--
|
||||
Copyright (C) 2024 YAAP
|
||||
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.
|
||||
-->
|
||||
<resources>
|
||||
<color name="slider_track_color">#FFB0B0B0</color> <!-- Light gray color for dark mode -->
|
||||
<color name="slider_thumb_color">#FFB0B0B0</color> <!-- Black color for the thumb in dark mode -->
|
||||
</resources>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!--
|
||||
Copyright (C) 2024 YAAP
|
||||
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.
|
||||
-->
|
||||
<resources>
|
||||
<color name="slider_track_color">#FF757575</color> <!-- Gray color for the track -->
|
||||
<color name="slider_thumb_color">#FF757575</color> <!-- White color for the thumb -->
|
||||
</resources>
|
||||
@@ -5,8 +5,7 @@
|
||||
-->
|
||||
<resources>
|
||||
<!-- Alert slider -->
|
||||
<string name="alert_slider_category_title">Alert slider</string>
|
||||
<string name="alert_slider_summary">Customize the Alert Slider</string>
|
||||
<string name="alert_slider_category_title">Alert slider settings</string>
|
||||
<string name="alert_slider_selection_dialog_title">Action</string>
|
||||
<string name="alert_slider_top_position">Top position</string>
|
||||
<string name="alert_slider_middle_position">Middle position</string>
|
||||
|
||||
Reference in New Issue
Block a user