Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme clean-up and better API 8, 9 and 10 support #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

2 participants