Fixup status bar for some devices
Google changed status bar yet again, smh... Not overriding `status_bar_height_default` causes status bar items to lose their vertical position, or to be more precise, positioned as if the status bar is of default height Change-Id: I60ddee6998d0fabb945fa1ed1c41bff28241affd
This commit is contained in:
parent
bf275099a1
commit
d9ee089006
|
@ -3,6 +3,7 @@
|
|||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">124px</dimen>
|
||||
<dimen name="status_bar_height">124px</dimen>
|
||||
<dimen name="status_bar_height_portrait">124px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">96px</dimen>
|
||||
<dimen name="status_bar_height">96px</dimen>
|
||||
<dimen name="status_bar_height_portrait">96px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">102px</dimen>
|
||||
<dimen name="status_bar_height">102px</dimen>
|
||||
<dimen name="status_bar_height_portrait">102px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">88px</dimen>
|
||||
<dimen name="status_bar_height">88px</dimen>
|
||||
<dimen name="status_bar_height_portrait">88px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">139px</dimen>
|
||||
<dimen name="status_bar_height">139px</dimen>
|
||||
<dimen name="status_bar_height_portrait">139px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">132px</dimen>
|
||||
<dimen name="status_bar_height">132px</dimen>
|
||||
<dimen name="status_bar_height_portrait">132px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">139px</dimen>
|
||||
<dimen name="status_bar_height">139px</dimen>
|
||||
<dimen name="status_bar_height_portrait">139px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">133px</dimen>
|
||||
<dimen name="status_bar_height">133px</dimen>
|
||||
<dimen name="status_bar_height_portrait">133px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
@ -201,4 +202,5 @@
|
|||
</integer-array>
|
||||
|
||||
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,109 L -399,109 L -399,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -540,0 L -540,109 L -399,109 L -399,0 Z</string>
|
||||
</resources>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">160px</dimen>
|
||||
<dimen name="status_bar_height">160px</dimen>
|
||||
<dimen name="status_bar_height_portrait">160px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">132px</dimen>
|
||||
<dimen name="status_bar_height">132px</dimen>
|
||||
<dimen name="status_bar_height_portrait">132px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
@ -16,5 +17,6 @@
|
|||
<integer name="config_screenBrightnessDoze">3</integer>
|
||||
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
||||
|
||||
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,100 L -409,100 L -409,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,102 L -408,102 L -408,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -540,0 L -540,102 L -408,102 L -408,0 Z</string>
|
||||
</resources>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">132px</dimen>
|
||||
<dimen name="status_bar_height">132px</dimen>
|
||||
<dimen name="status_bar_height_portrait">132px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
@ -16,5 +17,6 @@
|
|||
<integer name="config_screenBrightnessDoze">3</integer>
|
||||
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
||||
|
||||
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,100 L -409,100 L -409,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,102 L -408,102 L -408,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -540,0 L -540,102 L -408,102 L -408,0 Z</string>
|
||||
</resources>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">122px</dimen>
|
||||
<dimen name="status_bar_height">122px</dimen>
|
||||
<dimen name="status_bar_height_portrait">122px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">133px</dimen>
|
||||
<dimen name="status_bar_height">133px</dimen>
|
||||
<dimen name="status_bar_height_portrait">133px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">90px</dimen>
|
||||
<dimen name="status_bar_height">90px</dimen>
|
||||
<dimen name="status_bar_height_portrait">90px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">108px</dimen>
|
||||
<dimen name="status_bar_height">108px</dimen>
|
||||
<dimen name="status_bar_height_portrait">108px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">108px</dimen>
|
||||
<dimen name="status_bar_height">108px</dimen>
|
||||
<dimen name="status_bar_height_portrait">108px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">110px</dimen>
|
||||
<dimen name="status_bar_height">110px</dimen>
|
||||
<dimen name="status_bar_height_portrait">110px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">125px</dimen>
|
||||
<dimen name="status_bar_height">125px</dimen>
|
||||
<dimen name="status_bar_height_portrait">125px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">35dp</dimen>
|
||||
<dimen name="status_bar_height">35dp</dimen>
|
||||
<dimen name="status_bar_height_portrait">35dp</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
|
|
@ -79,6 +79,7 @@ skip_restoring_network_selection
|
|||
status_bar_height_landscape
|
||||
status_bar_height_portrait
|
||||
status_bar_height
|
||||
status_bar_height_default
|
||||
config_supportDoubleTapWake
|
||||
config_dozePulsePickup
|
||||
navigation_bar_height
|
||||
|
|
Loading…
Reference in a new issue