Theming Android’s AlertDialog is not an easy thing. Because some of its attributes are not available on old platform. Even on newer you still can’t use android:layout to specify your own layout, since your views’ ids should be consistent with Android’s, some of which are not public. AlertDialogPro can make theming a lot easier. Also contains Holo and Material themes for old devices.


Install/import with Gradle

Instructions for Gradle

Add the following to your build.gradle,

dependencies {
 compile 'com.github.fengdai:alertdialogpro-theme-material:0.2.1'
Install/import with Maven

Instructions for Maven

Add the following in the pom.xml,

Facebook Twitter Google Reddit LinkedIn
  • Price : Free
  • License : Apache License, Version 2.0
  • Visit Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *