colors - Android ColorPicker Dialog - Chang theme -
i'm using colorpicker dialog contained in api demos (sdk android)... when use on app, size changed, background color... how can same dialog in api demo, here both pictures:
this
and i'm getting
it's easy, change constructor of colorpickerdialog:
public colorpickerdialog(context context, oncolorchangedlistener listener, int initialcolor) { super(context,android.r.style.theme_holo_light_dialog_noactionbar);//set favorite theme //super(context); //this normal constructor mlistener = listener; minitialcolor = initialcolor; }
Comments
Post a Comment