ksoichiro / SimpleAlertDialog-for-Android

Library for Android DialogFragment.
Apache License 2.0
80 stars 30 forks source link

Use Android's default dialog styles #23

Open JVillella opened 9 years ago

JVillella commented 9 years ago

I'd like to use the device's default dialog style dependant on its Android version. How would we do this?

ksoichiro commented 9 years ago

Sorry for my late reply.

Basically, this library applies "Holo" theme to all Android version, and changing themes to the device's default seems difficult currently.

SimpleAlertDialogFragment.Builder class and SimpleAlertDialogSupportFragment.Builder class have setTheme() method to set custom themes, but it didn't work for this purpose.

If you are still interested in this feature, I'll consider it.

JVillella commented 9 years ago

If it's not too much trouble it would be very helpful. I am using it in a project of mine.

ksoichiro commented 9 years ago

Thanks for the comment. OK, I'll try that when I have time.

JVillella commented 9 years ago

Great, thank you @ksoichiro!