Skip to content

Conversation

@Rolf-Smit
Copy link

I cleaned the AlertDialogPro themes and back-ported the windowMinWidthMajor and windowMinWidthMinor attributes for API 8, 9 and 10 just like AppCompat version 22.1.X does. The only difference is that the android:windowMinWidthMajor and android:windowMinWidthMinor should still be used for API 11 and above, this is not the case in the AppCompat AlertDialog implementation, in AppCompat the windowMinWidthMajor and windowMinWidthMinor attributes do work for API 11 and above.

I also added the default values (default, large and xlarge) for windowMinWidthMajor and windowMinWidthMinor because they can vary across different Android versions, custom roms and sometimes even manufactures.

Tested on multiple devices, emulators and Android versions. Also my app Tinycore will receive an update today with these changes implemented, so that will be the big test ;)

Rolf Smit added 2 commits April 30, 2015 12:03
…ons;

- Added default android:windowWidthMajor and android:windowWidthMinor values (the default android values may vary per device and Android version);
- Added back-ported support for windowWidthMajor and windowWidthMinor for android API 8, 9 and 10;
- Theme clean-up;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants