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

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -