Add missing values for screen percent width dimens
Protects against bootlooping in the event that developer inadvertently changes DPI to unsupported value for device. Use 0dp as it will not be mistaken for anything other than a broken experience (cts test to validate device DPIs so as to avoid shipping with this). bug: b/37755288 Change-Id: Ie9f4aa0d6d226383824e06d28151e06038d0110b
This commit is contained in:
@@ -44,4 +44,10 @@
|
||||
<dimen name="progress_bar_size_small">16dip</dimen>
|
||||
<dimen name="progress_bar_size_medium">32dip</dimen>
|
||||
<dimen name="progress_bar_size_large">64dip</dimen>
|
||||
</resources>
|
||||
|
||||
<!-- fallback for screen percentage widths -->
|
||||
<dimen name="screen_percentage_05">0dp</dimen>
|
||||
<dimen name="screen_percentage_10">0dp</dimen>
|
||||
<dimen name="screen_percentage_12">0dp</dimen>
|
||||
<dimen name="screen_percentage_15">0dp</dimen>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user