What are these attributes stands for? The difference between major dimension and minor dimension?
<style name="Theme.Base.AppCompat.Dialog.FixedSize" parent="android:Theme.Dialog">
<item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item>
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
.......
</style>
windowFixedHeightMajor : A fixed height for the window along the major axis of the screen, that is, when in portrait.
windowFixedHeightMinor : A fixed height for the window along the minor axis of the screen, that is, when in landscape.
windowFixedWidthMajor : A fixed width for the window along the major axis of the screen, that is, when in landscape.
windowFixedWidthMinor : A fixed width for the window along the minor axis of the screen, that is, when in portrait.
Using windowFixedHeightMajor or windowFixedHeightMinor do not compile as their marked private.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With