public interface HeaderDialogDecorator extends Dialog
| Modifier and Type | Method and Description |
|---|---|
android.graphics.drawable.Drawable |
getHeaderBackground()
Returns the background of the dialog's header.
|
int |
getHeaderDividerColor()
Returns the color of the divider of the dialog's header.
|
int |
getHeaderHeight()
Returns the height of the dialog's header.
|
android.graphics.drawable.Drawable |
getHeaderIcon()
Returns the icon of the dialog's header.
|
boolean |
isHeaderDividerShown()
Returns, whether the divider of the dialog's header is shown, or not.
|
boolean |
isHeaderShown()
Returns, whether the dialog's header is shown, or not.
|
void |
setHeaderBackground(android.graphics.Bitmap background)
Sets the background of the dialog's header.
|
void |
setHeaderBackground(int resourceId)
Sets the background of the dialog's header.
|
void |
setHeaderBackgroundColor(int color)
Sets the background color of the dialog's header.
|
void |
setHeaderDividerColor(int color)
Sets the color of the divider of the dialog's header.
|
void |
setHeaderHeight(int height)
Sets the height of the dialog's header.
|
void |
setHeaderIcon(android.graphics.Bitmap icon)
Sets the icon of the dialog's header.
|
void |
setHeaderIcon(int resourceId)
Sets the icon of the dialog's header.
|
void |
showHeader(boolean show)
Sets, whether the dialog's header should be shown, or not.
|
void |
showHeaderDivider(boolean show)
Sets, whether the divider of the dialog's header should be shown, or not.
|
getContextboolean isHeaderShown()
void showHeader(boolean show)
show - True, if the dialog's header should be shown, false otherwiseint getHeaderHeight()
Integer valuevoid setHeaderHeight(int height)
height - The height, which should be set, in pixels as an Integer value. The height
must be at least 0android.graphics.drawable.Drawable getHeaderBackground()
Drawablevoid setHeaderBackground(android.graphics.Bitmap background)
background - The background, which should be set, as an instance of the class Bitmap or
null, if no background should be shownvoid setHeaderBackground(int resourceId)
resourceId - The resource id of the background, which should be set, as an Integer value.
The resource id must correspond to a valid drawable resourcevoid setHeaderBackgroundColor(int color)
color - The background color, which should be set, as an Integer valueandroid.graphics.drawable.Drawable getHeaderIcon()
Drawable or null,
if no icon has been setvoid setHeaderIcon(android.graphics.Bitmap icon)
icon - The icon, which should be set, as an instance of the class Bitmap or null, if
no icon should be setvoid setHeaderIcon(int resourceId)
resourceId - The resource id of the icon, which should be set, as an Integer value. The
resource id must correspond to a valid drawable resourceint getHeaderDividerColor()
Integer valuevoid setHeaderDividerColor(int color)
color - The color, which should be set, as an Integer valueboolean isHeaderDividerShown()
void showHeaderDivider(boolean show)
show - True, if the divider of the dialog's header should be shown, false otherwise