I have the exact the problem. I simply cut and post the tutorial from
the Android Developer site.
Here is my main.xml and java code.
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=wrap_content
Hi, sorry, I figured out the problem: I forgot to copy this piece of
the code.
@Override
protected Dialog onCreateDialog(int id) {
switch (id) {
case DATE_DIALOG_ID:
return new DatePickerDialog(this,
mDateSetListener,
2 matches
Mail list logo