Fix overlapping problem in AlertDialog
Because clipChildren and clipToPadding by default are set to false in the Settings, this will cause the strings overlapping with the title of AlertDialog. These 2 attributes in the Theme.AlertDialog are set to true to fix this problem. Fixes: 133731437 Test: visual Change-Id: I57ea48ac97c64dac6dfeec711daf4f40dc131ff6
This commit is contained in:
@@ -126,6 +126,8 @@
|
|||||||
|
|
||||||
<style name="Theme.AlertDialog" parent="Theme.AlertDialog.Base">
|
<style name="Theme.AlertDialog" parent="Theme.AlertDialog.Base">
|
||||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
|
<item name="android:clipToPadding">true</item>
|
||||||
|
<item name="android:clipChildren">true</item>
|
||||||
|
|
||||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||||
<item name="android:actionBarStyle">@style/Widget.ActionBar</item>
|
<item name="android:actionBarStyle">@style/Widget.ActionBar</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user