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 enter image description here

and i'm getting enter image description here

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

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -