Migrate "rounded_corner_content_padding"
This CL updates resource overlay of rounded_corner_content_padding so that the same device-specific value can be seen from both the Framework code and the SysUI. With my previous CL [1], the SysUI continues to see the same value even after this migration. [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9 24d6b891f572f7be419d3acc9793ca68d062cf35 Bug: 215554582 Test: presubmit Change-Id: I373b59068959d96f46f8d2d48e4923fbe8c961c8
This commit is contained in:
parent
1ce4ba5628
commit
ca6b8be9e5
4 changed files with 6 additions and 6 deletions
|
@ -23,6 +23,9 @@
|
||||||
<dimen name="rounded_corner_radius_top">50px</dimen>
|
<dimen name="rounded_corner_radius_top">50px</dimen>
|
||||||
<dimen name="rounded_corner_radius_bottom">49px</dimen>
|
<dimen name="rounded_corner_radius_bottom">49px</dimen>
|
||||||
|
|
||||||
|
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||||
|
<dimen name="rounded_corner_content_padding">50px</dimen>
|
||||||
|
|
||||||
<!-- Height of the status bar.
|
<!-- Height of the status bar.
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
|
||||||
<dimen name="rounded_corner_content_padding">50px</dimen>
|
|
||||||
|
|
||||||
<!-- the padding on the top of the statusbar (usually 0) -->
|
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||||
<dimen name="status_bar_padding_top">1px</dimen>
|
<dimen name="status_bar_padding_top">1px</dimen>
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
<dimen name="rounded_corner_radius_top">47px</dimen>
|
<dimen name="rounded_corner_radius_top">47px</dimen>
|
||||||
<dimen name="rounded_corner_radius_bottom">48px</dimen>
|
<dimen name="rounded_corner_radius_bottom">48px</dimen>
|
||||||
|
|
||||||
|
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||||
|
<dimen name="rounded_corner_content_padding">47px</dimen>
|
||||||
|
|
||||||
<!-- Height of the status bar.
|
<!-- Height of the status bar.
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
<!-- Don't need the left side padding due to being inset from the cutout -->
|
<!-- Don't need the left side padding due to being inset from the cutout -->
|
||||||
<dimen name="status_bar_padding_start">0dp</dimen>
|
<dimen name="status_bar_padding_start">0dp</dimen>
|
||||||
|
|
||||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
|
||||||
<dimen name="rounded_corner_content_padding">47px</dimen>
|
|
||||||
|
|
||||||
<!-- the padding on the top of the statusbar (usually 0) -->
|
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||||
<dimen name="status_bar_padding_top">1px</dimen>
|
<dimen name="status_bar_padding_top">1px</dimen>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue