mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Fix global colors in preference dialogs
This commit is contained in:
parent
8f8e78d6be
commit
a6e45e622d
3 changed files with 13 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ public class ServerSignupDialog extends DialogFragment {
|
|||
|
||||
bind = DialogServerSignupBinding.inflate(LayoutInflater.from(requireContext()));
|
||||
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog);
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_AlertDialog);
|
||||
|
||||
builder.setView(bind.getRoot())
|
||||
.setTitle("Add server")
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@
|
|||
<item name="android:windowMinWidthMinor">82%</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="android:windowBackground">@drawable/dialog_shape</item>
|
||||
<item name="android:windowMinWidthMajor">86%</item>
|
||||
<item name="android:windowMinWidthMinor">86%</item>
|
||||
</style>
|
||||
|
||||
<style name="Divider">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">0.5dp</item>
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@
|
|||
<item name="android:windowMinWidthMinor">82%</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="android:windowBackground">@drawable/dialog_shape</item>
|
||||
<item name="android:windowMinWidthMajor">86%</item>
|
||||
<item name="android:windowMinWidthMinor">86%</item>
|
||||
</style>
|
||||
|
||||
<style name="Divider">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">0.5dp</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue