mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix Alert Dialog width on TV (#1010)
* Fix Alert Dialog width on TV * Fix width for AlertDialogCustom on TV
This commit is contained in:
parent
9ef1f1cc41
commit
650c7583af
1 changed files with 4 additions and 4 deletions
|
@ -437,8 +437,8 @@
|
|||
<style name="PreferenceTheme" parent="@style/AppTheme" />
|
||||
|
||||
<style name="Theme.AlertDialog" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
<item name="android:windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
|
||||
<item name="android:windowBackground">@drawable/dialog__window_background</item>
|
||||
<item name="textAllCaps">false</item>
|
||||
</style>
|
||||
|
@ -506,8 +506,8 @@
|
|||
<!-- colorPrimarySecond used because colorPrimary fails for no reason -->
|
||||
<item name="colorControlActivated">?attr/colorPrimary</item>
|
||||
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
<item name="android:windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
|
||||
<item name="android:windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
|
||||
<item name="android:windowBackground">@drawable/dialog__window_background</item>
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue