Spacewar: set corner radius to a proper value
Since the corners are not perfectly round, it still does not look perfect but better than before. Also set the content padding to 63px which is about 24dp and enough for the ime buttons to not conflict with the corner. Change-Id: I931c93fff48997a14184bd28ce52ea0c71b7c7b4
This commit is contained in:
@@ -95,6 +95,7 @@ USE_CUSTOM_AUDIO_POLICY := 1
|
||||
# Display
|
||||
SOONG_CONFIG_qtidisplay_udfps := true
|
||||
TARGET_SCREEN_DENSITY := 420
|
||||
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 107
|
||||
TARGET_USES_COLOR_METADATA := true
|
||||
TARGET_USES_DISPLAY_RENDER_INTENTS := true
|
||||
TARGET_USES_GRALLOC4 := true
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Default radius of the software rounded corners. -->
|
||||
<dimen name="rounded_corner_radius">20.0dip</dimen>
|
||||
<dimen name="rounded_corner_radius">107px</dimen>
|
||||
|
||||
<!-- Default paddings for content around the corners. -->
|
||||
<dimen name="rounded_corner_content_padding">63px</dimen>
|
||||
|
||||
<!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to
|
||||
calculate the status bar height. -->
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">0dp</dimen>
|
||||
|
||||
<!-- Default device corner radius, used for assist UI -->
|
||||
<dimen name="config_rounded_mask_size">107px</dimen>
|
||||
<dimen name="config_rounded_mask_size_top">107px</dimen>
|
||||
<dimen name="config_rounded_mask_size_bottom">107px</dimen>
|
||||
|
||||
<!-- Bottom margin size when fingerprint in display is active -->
|
||||
<dimen name="keyguard_indication_margin_bottom">16dp</dimen>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user