values-large-v4.xml 1.9 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <dimen name="abc_config_prefDialogWidth">440dp</dimen>
  4. <item name="abc_dialog_fixed_height_major" type="dimen">60%</item>
  5. <item name="abc_dialog_fixed_height_minor" type="dimen">90%</item>
  6. <item name="abc_dialog_fixed_width_major" type="dimen">60%</item>
  7. <item name="abc_dialog_fixed_width_minor" type="dimen">90%</item>
  8. <item name="abc_dialog_min_width_major" type="dimen">55%</item>
  9. <item name="abc_dialog_min_width_minor" type="dimen">80%</item>
  10. <style name="Base.Theme.AppCompat.DialogWhenLarge" parent="Base.Theme.AppCompat.Dialog.FixedSize"/>
  11. <style name="Base.Theme.AppCompat.Light.DialogWhenLarge" parent="Base.Theme.AppCompat.Light.Dialog.FixedSize"/>
  12. <style name="Base.Theme.MaterialComponents.DialogWhenLarge" parent="Base.Theme.MaterialComponents.Dialog.FixedSize"/>
  13. <style name="Base.Theme.MaterialComponents.Light.DialogWhenLarge" parent="Base.Theme.MaterialComponents.Light.Dialog.FixedSize"/>
  14. <style name="Theme.Material3.Dark.DialogWhenLarge" parent="Base.Theme.Material3.Dark.Dialog">
  15. <item name="windowFixedWidthMajor">@dimen/abc_dialog_fixed_width_major</item>
  16. <item name="windowFixedWidthMinor">@dimen/abc_dialog_fixed_width_minor</item>
  17. <item name="windowFixedHeightMajor">@dimen/abc_dialog_fixed_height_major</item>
  18. <item name="windowFixedHeightMinor">@dimen/abc_dialog_fixed_height_minor</item>
  19. </style>
  20. <style name="Theme.Material3.Light.DialogWhenLarge" parent="Base.Theme.Material3.Light.Dialog">
  21. <item name="windowFixedWidthMajor">@dimen/abc_dialog_fixed_width_major</item>
  22. <item name="windowFixedWidthMinor">@dimen/abc_dialog_fixed_width_minor</item>
  23. <item name="windowFixedHeightMajor">@dimen/abc_dialog_fixed_height_major</item>
  24. <item name="windowFixedHeightMinor">@dimen/abc_dialog_fixed_height_minor</item>
  25. </style>
  26. </resources>