public class ADDialogFragment
extends DialogFragment
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
ADDialogFragment() |
| Modifier and Type | Method and Description |
|---|---|
android.app.Dialog |
onCreateDialog(android.os.Bundle savedInstanceState) |
void |
onStart() |
void |
setAction(java.lang.String action) |
void |
setBodyBackgroundColor(int bodyBackgroundColor)
Couleur de de fond du corps.
|
void |
setBodyPadding(int left,
int top,
int right,
int bottom)
Définir le padding du corps
|
void |
setBodyText(java.lang.String bodyText) |
void |
setBodyTextColor(int bodyTextColor)
Couleur de texte du corps.
|
void |
setDialogBackgroundColor(int dialogBackgroundColor)
Définir la couleur de fond de la boîte de dialogue.
|
void |
setDialogCancelable(boolean dialogCancelable) |
void |
setFooterBackgroundColor(int footerBackgroundColor)
Couleur de fond du pied.
|
void |
setFooterPadding(int left,
int top,
int right,
int bottom)
Définir le padding du pied
|
void |
setFooterTextColor(int footerTextColor)
Couleur de texte du pied.
|
void |
setHasBodyBackgroundColor(boolean hasBodyBackgroundColor) |
void |
setHasBodyTextColor(boolean hasBodyTextColor) |
void |
setHasDialogBackgroundColor(boolean hasDialogBackgroundColor) |
void |
setHasFooterBackgroundColor(boolean hasFooterBackgroundColor) |
void |
setHasFooterTextColor(boolean hasFooterTextColor) |
void |
setHasHeaderBackgroundColor(boolean hasHeaderBackgroundColor) |
void |
setHasHeaderIcon(boolean hasHeaderIcon) |
void |
setHasHeaderTextColor(boolean hasHeaderTextColor) |
void |
setHeaderBackgroundColor(int headerBackgroundColor)
Couleur du fond de l'entête.
|
void |
setHeaderIcon(android.graphics.drawable.Drawable headerIcon) |
void |
setHeaderPadding(int left,
int top,
int right,
int bottom)
Définir le padding de l'entête
|
void |
setHeaderText(java.lang.String headerText) |
void |
setHeaderTextColor(int headerTextColor)
Couleur de texte de l'entête.
|
void |
setListener(ADDialogListener listener) |
void |
setNegativeButtonText(java.lang.String negativeButtonText) |
void |
setNeutralButtonText(java.lang.String neutralButtonText) |
void |
setPositiveButtonText(java.lang.String positiveButtonText) |
public static final java.lang.String TAG
public void setHasHeaderTextColor(boolean hasHeaderTextColor)
public void setHasHeaderBackgroundColor(boolean hasHeaderBackgroundColor)
public void setHasBodyTextColor(boolean hasBodyTextColor)
public void setHasBodyBackgroundColor(boolean hasBodyBackgroundColor)
public void setHasFooterTextColor(boolean hasFooterTextColor)
public void setHasFooterBackgroundColor(boolean hasFooterBackgroundColor)
public void setHasDialogBackgroundColor(boolean hasDialogBackgroundColor)
public void setHeaderText(java.lang.String headerText)
public void setBodyText(java.lang.String bodyText)
public void setPositiveButtonText(java.lang.String positiveButtonText)
public void setNegativeButtonText(java.lang.String negativeButtonText)
public void setNeutralButtonText(java.lang.String neutralButtonText)
public void setDialogCancelable(boolean dialogCancelable)
public void setHeaderIcon(android.graphics.drawable.Drawable headerIcon)
public void setHasHeaderIcon(boolean hasHeaderIcon)
public void setListener(ADDialogListener listener)
public void setAction(java.lang.String action)
public void setHeaderTextColor(int headerTextColor)
headerTextColor - public void setHeaderBackgroundColor(int headerBackgroundColor)
headerBackgroundColor - public void setBodyTextColor(int bodyTextColor)
bodyTextColor - public void setBodyBackgroundColor(int bodyBackgroundColor)
bodyBackgroundColor - public void setFooterTextColor(int footerTextColor)
footerTextColor - public void setFooterBackgroundColor(int footerBackgroundColor)
footerBackgroundColor - public void setDialogBackgroundColor(int dialogBackgroundColor)
dialogBackgroundColor - public void onStart()
public android.app.Dialog onCreateDialog(android.os.Bundle savedInstanceState)
public void setHeaderPadding(int left,
int top,
int right,
int bottom)
left - top - right - bottom - public void setBodyPadding(int left,
int top,
int right,
int bottom)
left - top - right - bottom - public void setFooterPadding(int left,
int top,
int right,
int bottom)
left - top - right - bottom -