What is the difference between windowMinWidthMajor and android:windowMinWidthMajor

后端 未结 2 1577
遥遥无期
遥遥无期 2021-02-05 20:38

I want to set up a proper style for my ProgressDialog. I like the default one but I want to customize it. I\'ve tried to use AppCompat dialogs but they all setup some we

2条回答
  •  失恋的感觉
    2021-02-05 20:51

    According to this link:

    Min_witdh_major is:

    The platform's desired minimum size for a dialog's width when it is along the major axis (that is the screen is landscape). This may be either a fraction or a dimension.

    And min_with_minor is:

    The platform's desired minimum size for a dialog's width when it is along the minor axis (that is the screen is portrait). This may be either a fraction or a dimension.

    In appcompat, this value is set as 65%.

提交回复
热议问题