last day (18 days later) » 

10:36 PM
1
A: Issues trying to create a custom dialog preference that gets a time period

LibinWhen (in which method) should I access the number pickers to harvest the values okay'ed? Your TimePeriodPreference class need to implements the DialogInterface.OnClickListener and Override the onClick method like this. Override public void onClick(DialogInterface dialog, int which){ if(which...

 
thanks, will try. Any idea why the number pickers are missing the +-?
I tried it but actually, the number picker does not work - cannot input any text into it
 
Is this the complete layout? What was the app theme in manifest?
Try removing the textviews and see only with a picker
 
should I paste all the code?
removed all the textviews, no difference
 
Yes. the complete layout
 
ok, done!
I put the layout here
The complete code is here in dropbox dropbox.com/s/pul1eximvsfxsvz/…
 
10:56 PM
wait.downloading the code
 
11:21 PM
done, see my answer . You need to set a max and min value for the number picker
 

  last day (18 days later) »