sm7250-common: Enable Alert Slider UI
Signed-off-by: CryllicBuster273 <cryllicbuster273@pixelexperience.org> Signed-off-by: aswin7469 <aswinas@pixysos.com> Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com> Change-Id: I18d0a0a21c5b5793dc12acae8ccdf18335719038
This commit is contained in:
committed by
Sandeep-FED
parent
78fe83ac2b
commit
19b503385a
@@ -62,4 +62,12 @@
|
||||
<!-- Display has physical cutout -->
|
||||
<bool name="config_physicalDisplayCutout">true</bool>
|
||||
|
||||
<!-- 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>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2020 PixelExperience 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.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Alert Slider UI -->
|
||||
<dimen name="tri_state_down_dialog_position_l">503px</dimen>
|
||||
<dimen name="tri_state_middle_dialog_position_l">503px</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>
|
||||
<dimen name="tri_state_down_dialog_position">627px</dimen>
|
||||
<dimen name="tri_state_middle_dialog_position">480px</dimen>
|
||||
<dimen name="tri_state_up_dialog_position">336px</dimen>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user