chore: create new margins (#6)

* feat: use xiaomi bomb power profiles for a12

- same chipset should be compatible

* feat: try to enable burn in protection

* feat: add new margins

* fix: remove uneeded string

* chore: increase padding by 2dp
This commit is contained in:
Saya 2022-09-16 15:17:20 +08:00 committed by GitHub
parent 139bbd9de4
commit 53802e6aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 9 deletions

View file

@ -1,14 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- the padding on the top of the statusbar -->
<dimen name="status_bar_padding_top">2dp</dimen>
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">16dp</dimen>
<dimen name="status_bar_padding_start">12dp</dimen>
<!-- the padding on the end of the statusbar -->
<dimen name="status_bar_padding_end">16dp</dimen>
<dimen name="status_bar_padding_end">12dp</dimen>
<!-- Margin on the right side of the system icon group on Keyguard. -->
<dimen name="system_icons_keyguard_padding_end">14dp</dimen>
<dimen name="system_icons_keyguard_padding_end">8dp</dimen>
<!-- the padding of the rounded corner -->
<dimen name="rounded_corner_content_padding">14dp</dimen>
<dimen name="rounded_corner_content_padding">10dp</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">25dp</dimen>
<!-- the padding of the rounded corner -->
<dimen name="rounded_corner_radius">132px</dimen>
</resources>

View file

@ -17,11 +17,10 @@
*/
-->
<resources>
<!-- Height of the status bar -->
<dimen name="status_bar_height">79px</dimen>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">79px</dimen>
<dimen name="status_bar_height_portrait">28px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">24dp</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">M -62,0 L -62,79 L 62,79 L 62,0 Z</string>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Notch location in the device -->
<string name="config_mainBuiltInDisplayCutout">M 0,0 L -56, 0 L -54, 28 L 54, 28 L 56, 0 Z @dp</string>
</resources>