Global Actions - Power menu too tall in landscape
Set a different height for landscape to fit in all devices Fixes: 159906363 Test: manual, set largest display/font Change-Id: Ie4ab49fca4691ff377af0f5df329c6b97343d604
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
android:id="@*android:id/icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="45dp"
|
||||
android:layout_marginBottom="@dimen/global_actions_power_dialog_item_bottom_margin"
|
||||
android:scaleType="centerInside"
|
||||
android:tint="@color/control_primary_text" />
|
||||
<TextView
|
||||
|
||||
@@ -44,4 +44,7 @@
|
||||
|
||||
<dimen name="biometric_dialog_button_negative_max_width">140dp</dimen>
|
||||
<dimen name="biometric_dialog_button_positive_max_width">116dp</dimen>
|
||||
|
||||
<dimen name="global_actions_power_dialog_item_height">130dp</dimen>
|
||||
<dimen name="global_actions_power_dialog_item_bottom_margin">35dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -1061,6 +1061,7 @@
|
||||
<!-- Shutdown and restart actions are larger in power options dialog -->
|
||||
<dimen name="global_actions_power_dialog_item_height">190dp</dimen>
|
||||
<dimen name="global_actions_power_dialog_item_width">255dp</dimen>
|
||||
<dimen name="global_actions_power_dialog_item_bottom_margin">45dp</dimen>
|
||||
|
||||
<!-- The maximum offset in either direction that elements are moved horizontally to prevent
|
||||
burn-in on AOD. -->
|
||||
|
||||
Reference in New Issue
Block a user