| java.lang.Object | ||
| ↳ | com.neomades.ui.dialog.Dialog | |
| ↳ | com.neomades.ui.dialog.CustomDialog | |
Simple dialog with custom look.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CustomDialog() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
setBackgroundColor(Color color)
Sets background mask color behind the custom dialog.
| ||||||||||
| void |
setContent(View content)
Sets the content of the dialog.
| ||||||||||
| void |
setContentAlignment(int alignment)
Sets the content view alignment into the screen.
| ||||||||||
| void |
setTitle(String title)
Custom dialog does not show a title.
| ||||||||||
| void |
setTitle(int resId)
Custom dialog does not show a title.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.neomades.ui.dialog.Dialog
| |||||||||||
From class
java.lang.Object
| |||||||||||
Sets background mask color behind the custom dialog.
By default there is the native background mask.
| color | a translucent ARGB color (with or without an alpha channel) |
|---|
Sets the content of the dialog.
| content | any type of View |
|---|
Custom dialog does not show a title.
Use content view to insert a custom title.
| title | not used |
|---|
Custom dialog does not show a title.
Use content view to insert a custom title.
| resId | not used |
|---|