Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: If449421cd1936924e45ae23ccd031661ce3a7fe9
(cherry picked from commit 8cc26bba4b
)
This commit is contained in:
parent
2c1b1d8eaf
commit
8da5273097
1 changed files with 4 additions and 4 deletions
|
@ -238,15 +238,15 @@
|
|||
|
||||
<!-- Radius of the software rounded corners at the top of primary display in its natural
|
||||
orientation. If zero, the value of rounded_corner_radius is used. -->
|
||||
<dimen name="rounded_corner_radius_top">52px</dimen>
|
||||
<dimen name="rounded_corner_radius_top">85px</dimen>
|
||||
<!-- For secondary display -->
|
||||
<dimen name="secondary_rounded_corner_radius_top">91px</dimen>
|
||||
<dimen name="secondary_rounded_corner_radius_top">115px</dimen>
|
||||
|
||||
<!-- Radius of the software rounded corners at the bottom of primary display in its natural
|
||||
orientation. If zero, the value of rounded_corner_radius is used. -->
|
||||
<dimen name="rounded_corner_radius_bottom">48px</dimen>
|
||||
<dimen name="rounded_corner_radius_bottom">85px</dimen>
|
||||
<!-- For secondary display -->
|
||||
<dimen name="secondary_rounded_corner_radius_bottom">91px</dimen>
|
||||
<dimen name="secondary_rounded_corner_radius_bottom">115px</dimen>
|
||||
|
||||
<!-- A string config in svg path format for the main display shape.
|
||||
(@see https://www.w3.org/TR/SVG/paths.html#PathData).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue