Basics of Dialog Box in Android

Posted by Unknown Kamis, 19 Juli 2012 0 komentar

Dialog Box in Android


Dialog Box is the best way to show the message popup in an application or on screen selection for user inputs. The Android provides the dialog interface which could be integrate with activity to get the user inputs as well as provide the responses to user.


Android defines the Dialog as class to create the dialog which can be display with in an activity. You should not use the Dialog class directly as the extended classes are also defined by Android which you can use directly in your application.


The four major type of Dialog classes are as follows


AlertDialog - is the most useful dialog class and most of the dialog interfaces could be design using the AlertDialog. You can define your controls to customize the Alert Dialog UI.

Android Alert Dialog
Android - AlertDialog


ProgressDialog - is used to show the progress as a progress bar or progress wheel. You can define your controls to customize the ProgressDialog also.

Android Progress Wheel
Android - Progress Wheel


Android Progress Bar
Android - Progress Bar


DatePickerDialog - is used to select a date by the user.


TimePickerDialog - is used to select a time by the user.

Android Date and Time Pickers
Android - Pickers (Date and Time)

If you like the post please provide your feedback.


Thanks
Creative Android Apps




TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Basics of Dialog Box in Android
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://apk-xda.blogspot.com/2012/07/basics-of-dialog-box-in-android.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of apk xda.