Code example for PaintDrawable

public class SelectiveColor extends Color { 
	private final static PaintDrawable SELECTED_COLOR_DRAWABLE = new PaintDrawable(Color.GREEN); 
	private final static PaintDrawable UNSELECTED_COLOR_DRAWABLE = new PaintDrawable(Color.TRANSPARENT); 
	 * Return an {@link PaintDrawable} of a {@link Color} indicates selected components 
	 * @return solid color {@link PaintDrawable} of selected components 
	public static PaintDrawable getSelectedDrawable() 
	 * Return an {@link PaintDrawable} of a {@link ColorStateList} indicates unselected components  
	 * @return solid color {@link PaintDrawable} of unselected components 
Stop searching for code, let great code find you!  Add Codota to your java IDE