apache / cordova-plugin-dialogs

Apache Cordova Dialogs Plugin
https://cordova.apache.org/
Apache License 2.0
288 stars 351 forks source link

CB-12129 (android): Add ability to set dialog style #103

Open hvaughan3 opened 6 years ago

hvaughan3 commented 6 years ago

Platforms affected

Android

What does this PR do?

Created new setAndroidStyleName function to allow specifying the name of a style to apply to dialogs on Android. Also updated README to explain how to create a named style and copy it to the correct location.

What testing has been done on this change?

Tested on Android 7.1.1 emulator.

Checklist

jcesarmobile commented 6 years ago

Thanks for the PR, but CB-12129 is closed and it's not exactly the same as what you implemented. So it's better if you create a new issue and use the new id instead of CB-12129.

Also, for new features, specially if they are platform specific, is recommended to send a mail to the cordova dev list ( dev@cordova.apache.org ) so it can be discussed.