Define thin letterboxing width
Bug: 334077350 Test: manual Change-Id: Ib81d52a89ab178b8e61cb081e94ebae0db408f9b
This commit is contained in:
parent
94639beacf
commit
9a316bdea4
1 changed files with 12 additions and 0 deletions
|
@ -289,4 +289,16 @@
|
||||||
corners with radius equal to min between device bottom corner radii. Default 0 value turns
|
corners with radius equal to min between device bottom corner radii. Default 0 value turns
|
||||||
off rounded corners logic in LetterboxUiController. Values are in pixel. -->
|
off rounded corners logic in LetterboxUiController. Values are in pixel. -->
|
||||||
<integer name="config_letterboxActivityCornersRadius">64</integer>
|
<integer name="config_letterboxActivityCornersRadius">64</integer>
|
||||||
|
|
||||||
|
<!-- The width in dp to use to detect vertical thin letterboxing.
|
||||||
|
If W is the available width and w is the letterbox width, an app
|
||||||
|
is thin letterboxed if the value here is < (W - w) / 2
|
||||||
|
If the value is < 0 the thin letterboxing policy is disabled -->
|
||||||
|
<dimen name="config_letterboxThinLetterboxWidthDp">28dp</dimen>
|
||||||
|
|
||||||
|
<!-- The height in dp to use to detect horizontal thin letterboxing
|
||||||
|
If H is the available height and h is the letterbox height, an app
|
||||||
|
is thin letterboxed if the value here is < (H - h) / 2
|
||||||
|
If the value is < 0 the thin letterboxing policy is disabled -->
|
||||||
|
<dimen name="config_letterboxThinLetterboxHeightDp">-1dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue