mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
Fix global colors in preference dialogs
This commit is contained in:
@@ -51,7 +51,7 @@ public class ServerSignupDialog extends DialogFragment {
|
|||||||
|
|
||||||
bind = DialogServerSignupBinding.inflate(LayoutInflater.from(requireContext()));
|
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())
|
builder.setView(bind.getRoot())
|
||||||
.setTitle("Add server")
|
.setTitle("Add server")
|
||||||
|
|||||||
@@ -33,6 +33,12 @@
|
|||||||
<item name="android:windowMinWidthMinor">82%</item>
|
<item name="android:windowMinWidthMinor">82%</item>
|
||||||
</style>
|
</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">
|
<style name="Divider">
|
||||||
<item name="android:layout_width">match_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:layout_height">0.5dp</item>
|
<item name="android:layout_height">0.5dp</item>
|
||||||
|
|||||||
@@ -33,6 +33,12 @@
|
|||||||
<item name="android:windowMinWidthMinor">82%</item>
|
<item name="android:windowMinWidthMinor">82%</item>
|
||||||
</style>
|
</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">
|
<style name="Divider">
|
||||||
<item name="android:layout_width">match_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:layout_height">0.5dp</item>
|
<item name="android:layout_height">0.5dp</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user