avicii: Enable Alert Slider UI

* Values for avicii

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
This commit is contained in:
chandu078
2023-03-28 08:14:06 +05:30
committed by AmolAmrit
parent 328e3eed92
commit 039c1043f0
2 changed files with 19 additions and 0 deletions

View File

@@ -100,4 +100,12 @@
Choices are: FULL, NORMAL, OFF. --> Choices are: FULL, NORMAL, OFF. -->
<string name="db_wal_sync_mode" translatable="false">OFF</string> <string name="db_wal_sync_mode" translatable="false">OFF</string>
<!-- Whether device has physical tri state switch -->
<bool name="config_hasAlertSlider">true</bool>
<!-- The location of the devices physical tri state switch
0: Left side
1: Right side -->
<integer name="config_alertSliderLocation">1</integer>
</resources> </resources>

View File

@@ -39,4 +39,15 @@
<!-- Location on the screen of the center of the physical power button. --> <!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">875px</dimen> <dimen name="physical_power_button_center_screen_location_y">875px</dimen>
<!-- Alert Slider UI -->
<dimen name="tri_state_down_dialog_position">627px</dimen>
<dimen name="tri_state_down_dialog_position_l">503px</dimen>
<dimen name="tri_state_middle_dialog_position">480px</dimen>
<dimen name="tri_state_middle_dialog_position_l">503px</dimen>
<dimen name="tri_state_up_dialog_position">336px</dimen>
<dimen name="tri_state_up_dialog_position_l">503px</dimen>
<dimen name="tri_state_up_dialog_position_deep">24px</dimen>
<dimen name="tri_state_up_dialog_position_deep_land">21px</dimen>
</resources> </resources>