**
** I have seen many android application where user can select Date from date picker.
In my application I have used date field in activity.
so I want to design my own datepicker like calender view.
I want to display datepicker like...
1) first image datepicker
2) second image datepicker
I am developing application like Daily expense... So If anybody knows how to develop stylish datepicker in android.plz reply.
Look in to this example
http://w2davids.wordpress.com/android-simple-calendar/
If you change the layout background you will get what you want
You copy the below code and in button onclick call
Intent i=new Intent(MainActivity.this,SimpleCalendarViewActivity.class);
startActivity(i);
And in android Manifest File for SimpleCalendarViewActivity add this theme.. It will display this as a Dialog. check it out
android:theme="@android:style/Theme.Dialog"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.