mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: parts: Refactor battery fragment
* Show live data of battery Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
419f6646a3
commit
c813e0984a
22 changed files with 135 additions and 393 deletions
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="batt_info_menu">
|
||||
<item>@string/battery_max_capa</item>
|
||||
<item>@string/battery_chrged_up_to</item>
|
||||
<item>@string/battery_chrged_up_to_mah</item>
|
||||
<item>@string/battery_current</item>
|
||||
<item>@string/battery_status</item>
|
||||
<item>@string/battery_temp</item>
|
||||
</string-array>
|
||||
<string-array name="dolby_modes">
|
||||
<item>@string/dolby_profile_auto</item>
|
||||
<item>@string/dolby_profile_movie</item>
|
||||
<item>@string/dolby_profile_music</item>
|
||||
<item>@string/dolby_profile_voice</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Base attributes available to CustomSeekBarPreference. -->
|
||||
<declare-styleable name="CustomSeekBarPreference">
|
||||
<attr name="interval" format="integer" />
|
||||
<attr name="showSign" format="boolean" />
|
||||
<attr name="units" format="string|reference" />
|
||||
<attr name="continuousUpdates" format="boolean" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 Havoc-OS
|
||||
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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<color name="disabled_text_color">#66000000</color>
|
||||
<color name="homepage_parts_background">#FFFF6700</color>
|
||||
<color name="red">#FF0000</color>
|
||||
<color name="green">#00FF00</color>
|
||||
<color name="blue">#0000FF</color>
|
||||
</resources>
|
||||
|
|
@ -17,7 +17,8 @@
|
|||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="advanced_settings">SamsungParts</string>
|
||||
<string name="advanced_settings_summary">Device specific tweaks</string>
|
||||
|
||||
<string name="not_shown">Not shown due to user settings</string>
|
||||
<string name="show_data">Show the battery data</string>
|
||||
<!-- Display category -->
|
||||
<string name="display_category">Display</string>
|
||||
<!-- FPS Info -->
|
||||
|
|
@ -26,7 +27,7 @@
|
|||
|
||||
<!-- Speaker category -->
|
||||
<string name="speaker_category">Audio</string>
|
||||
|
||||
<string name="flash_enable_title">Enable Eureka flash control feature</string>
|
||||
<!-- Clear Speaker -->
|
||||
<string name="clear_speaker_title">Clear speaker</string>
|
||||
<string name="clear_speaker_summary">Play a 30-second audio to clear the speaker</string>
|
||||
|
|
@ -94,11 +95,4 @@
|
|||
|
||||
<!-- Label for feature switch -->
|
||||
<string name="switch_bar_off">Off</string>
|
||||
|
||||
<!-- Custom seekbar -->
|
||||
<string name="custom_seekbar_value">Value: <xliff:g id="v">%s</xliff:g></string>
|
||||
<string name="custom_seekbar_default_value">Default</string>
|
||||
<string name="custom_seekbar_default_value_to_set">Default value: <xliff:g id="v">%s</xliff:g>\nLong press to set</string>
|
||||
<string name="custom_seekbar_default_value_is_set">Default value is set</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in a new issue