Date and Time Picker in android - learn to create dialog with Date and Time Picker in android
In this video we learn about date picker in android which is used to allow user to pick a date and we learn about time picker in android which is user to allow user to pick a time in android.
we add two buttons, first one creates an alert dialog which show a date picker and when user chose a date and hit ok we show selected date.
and second button creates an alert dialog which show a time picker and when user pick a time and hit ok we show selected time.
After watching, you learn answer to these questions:
How to use date picker in android?
How to use time picker in android?
How to create alert dialog in android?
How to allow user to pick date and time in android?
date picker and time picker in android Video Chapters:
00:00 app preview
00:23 create new project
00:38 change app layout
00:55 add date picker in android
01:43 create custom dialog to show date picker
04:36 run date picker app in android studio
04:49 add time picker in android
05:40 create custom dialog to show time picker
07:27 run time picker app in android studio
🔔 Support me by Subscribing. thanks: / @magiccodes
Hi, welcome to my android learning channel. In this channel I upload videos to help you learn android programming. To create android apps that shown in videos, I used android studio program. My name is Amir and I hope that this android learning channel can help you to learn android and solve your android programming problems.
If you use Magic Codes to learn android programming, you can learn basic, essential and advanced android programming. You learn how to design layouts in android studio; you learn about Java and Kotlin programming; you learn to create android apps: from moment you create a new project in android studio to moment you publish app in google play; you learn about properties of xml layouts; you learn to use outside libraries; you learn to use google maps and google admob in android and a lot more, so subscribe now to help me keep going.
Important Videos and Play Lists:
======================================
💡 - Create Android Applications: • Create Android Apps
📒 - Learn XML Views in Layout: • Learn XML Views in Android
📒 - Work with Database in android: • Work with Database in Android
🌐 - Connect to API in Android: • Connect to API and Send HTTP Requests
📒 - Lists and Recycler Views in Android: • List and Recycler View in Android
🔐 - Error Fixing in android: • Troubleshooting and Error Fixing in A...
⚡ - Android How to Videos: • Android How to Videos
Links and Social Media:
======================================
🔗 - My Apps in Play Store: https://play.google.com/store/apps/de...
📝 - My Website Written in asp.net: http://shahazmoon.ir
#date_picker #android_date_picker #time_picker_ #android_time_picker #android #learn_android #android_programming