diff options
author | Adrian Roos <roosa@google.com> | 2018-02-22 16:57:08 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2018-02-23 13:26:11 +0100 |
commit | 22af65082cd9faf7bd689097b87626e6929ab5b0 (patch) | |
tree | 412ac1329cf058802b9ad3b90dfb3d18e3d44ec4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 78cab5a5961b37d984069697dd0ba684184de6bd (diff) |
WM: Split portrait and landscape status bar size
For devices with a display cutout, it is no longer feasible to have the
same status bar size in portrait and landscape.
Special care has to be taken because a lot of third-party apps (and bundled apps)
rely on @dimen/status_bar_height, so we make sure that in -land it is set
to the landscape value.
Note that resource overlays for @dimen/status_bar_height MUST be renamed to
status_bar_height_portrait, otherwise they will only override the portrait
orientation, while landscape will continue to be 24dp!
Bug: 73717865
Test: Enable display cutout, ensure status bar is smaller in landscape.
Change-Id: If2718e53c3a10e3cab092d4b6a0a2a3bdd0cea81
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions