Increasing size of lock icon on big screen devices

Lock icon can be very small on big devices because by default its padding is specified in pixels (48px) and its size is calculated in LockIconViewController to be 64dp.
When density is small enough that doesn't leave enough space for normal size of lock icon.
Now padding is overriden for sw600 to be density independent.

Fixes: 208440478
Test: manual on two different large screen devices on master and sc-v2
Change-Id: I73e1e06c23d782951b9cc45fb7bee349a2405593
This commit is contained in:
Michal Brzezinski
2021-12-03 17:07:04 +00:00
parent f1650d861b
commit 2bcb811390

View File

@@ -25,6 +25,9 @@
<!-- Margin around the various security views -->
<dimen name="keyguard_security_view_top_margin">12dp</dimen>
<!-- Padding for the lock icon on the keyguard -->
<dimen name="lock_icon_padding">16dp</dimen>
<!-- Overload default clock widget parameters -->
<dimen name="widget_big_font_size">100dp</dimen>
<dimen name="widget_label_font_size">18sp</dimen>