How to create Gradient Buttons Dynamically without XML in Android?
Hello all.. I have shown you how to create gradient buttons in Android using XML in this post. Now I will show you how to create these gradient buttons dynamically. We will start with a class that extends StateListDrawable similar to state-list we use in XML UIGradientSelector.java Now the class that extends PaintDrawable Class. UIGradientDrawable.java… Read More »