Update dialog styles to material 2
Bug: 69930374 Test: Manually tested Change-Id: I4215d0283cbbfcc929b891f5b419b52b1de8598a
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
<style name="GlifV2Theme" parent="SuwThemeGlifV2">
|
<style name="GlifV2Theme" parent="SuwThemeGlifV2">
|
||||||
<!-- For all Alert Dialogs -->
|
<!-- For all Alert Dialogs -->
|
||||||
<item name="android:alertDialogTheme">@style/ThemeOverlay.AlertDialog</item>
|
<item name="android:alertDialogTheme">@style/GlifV2ThemeAlertDialog</item>
|
||||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
<style name="GlifV2Theme.Light" parent="SuwThemeGlifV2.Light">
|
<style name="GlifV2Theme.Light" parent="SuwThemeGlifV2.Light">
|
||||||
<!-- For all Alert Dialogs -->
|
<!-- For all Alert Dialogs -->
|
||||||
<item name="android:alertDialogTheme">@style/ThemeOverlay.AlertDialog</item>
|
<item name="android:alertDialogTheme">@style/GlifV2ThemeAlertDialog.Light</item>
|
||||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||||
@@ -242,6 +242,14 @@
|
|||||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="GlifV2ThemeAlertDialog" parent="SuwAlertDialogTheme">
|
||||||
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="GlifV2ThemeAlertDialog.Light" parent="SuwAlertDialogTheme.Light">
|
||||||
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="Theme.AlertDialog" parent="@*android:style/Theme.DeviceDefault.Settings.Dialog.Alert">
|
<style name="Theme.AlertDialog" parent="@*android:style/Theme.DeviceDefault.Settings.Dialog.Alert">
|
||||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user