raven: Convert status_bar_height_portrait to dp
Fix status bar height not being scaled properly after switching screen resolution to 1080p. DP = PX * (160 / DPI) Change-Id: I7eba09b6da2eae6bd4274d3ad6acc85311d32db1
This commit is contained in:
parent
51d51d1dc0
commit
8382da25d4
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
<dimen name="status_bar_height_default">28dp</dimen>
|
<dimen name="status_bar_height_default">28dp</dimen>
|
||||||
<dimen name="status_bar_height_portrait">145px</dimen>
|
<dimen name="status_bar_height_portrait">41.42857143dp</dimen>
|
||||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||||
|
|
||||||
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue