I've seen this dialog, it's very beautiful. How can I make a dialog like this ? I've made some dialogs but with the default android theme, what theme I should use or where I can find other themes for dialogs?
-
1Make a activity with dialog theme and custom layout it is the simplest way to do this.. – Abhishek May 15 '14 at 08:12
4 Answers
The picture you pasted in your question is actually a screenshot from a tutorial on how to create such a dialog. Simply follow the steps provided here: http://www.javasrilankansupport.com/2012/10/android-dialog-android-custom-dialog-for-user-login.html

- 12,947
- 4
- 35
- 62
-
I download it from the site you mentioned , it's not the same dialog ,I think different version of api will show a different thing , – user3579994 May 15 '14 at 11:38
Best way will be creating you own layout for dialog
Custiom Dialog
And you will have more control of your dialog behiaviour, good practice is to use Dialog Fragment.

- 1
- 1

- 408
- 1
- 5
- 13
To create a beautiful dialog in Android,
Use a DialogFragment and inflate a custom view. (or)
Inflate a custom view for AlertDialog and customize the AlertDialog Theme.
A fragment that displays a dialog window, floating on top of its activity's window. Override onCreateDialog(Bundle) to create an entirely custom dialog,such as an AlertDialog, with its own content...
Android documentation will give you a clear picture about Dialog creation,design and tips.
If possible its better to do by using Custom Dialog or Use activity with theme dialog.
<activity android:name=".MyDialog"
android:theme="@android:style/Theme.Dialog">
</activity>

- 196
- 2
- 13