public class QMUIDialog
extends android.app.Dialog
QMUIDialogBuilder 及其子类创建, 不同的 Builder 可以创建不同类型的对话框,
例如消息类型的对话框、菜单项对话框等等。QMUIDialogBuilder| 限定符和类型 | 类和说明 |
|---|---|
static class |
QMUIDialog.AutoResizeDialogBuilder
随键盘升降自动调整 Dialog 高度的 Builder
|
static class |
QMUIDialog.CheckableDialogBuilder
单选类型的对话框 Builder
|
static class |
QMUIDialog.CheckBoxMessageDialogBuilder
带 CheckBox 的消息确认框 Builder
|
static class |
QMUIDialog.CustomDialogBuilder
自定义对话框内容区域的 Builder
|
static class |
QMUIDialog.EditTextDialogBuilder
带输入框的对话框 Builder
|
static class |
QMUIDialog.MenuDialogBuilder
菜单类型的对话框 Builder
|
static class |
QMUIDialog.MessageDialogBuilder
消息类型的对话框 Builder。
|
static class |
QMUIDialog.MultiCheckableDialogBuilder
多选类型的对话框 Builder
|
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| 构造器和说明 |
|---|
QMUIDialog(android.content.Context context) |
QMUIDialog(android.content.Context context,
int styleRes) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
setCancelable(boolean cancelable) |
void |
setCanceledOnTouchOutside(boolean cancel) |
void |
show() |
void |
showWithImmersiveCheck() |
void |
showWithImmersiveCheck(android.app.Activity activity) |
addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenupublic QMUIDialog(android.content.Context context)
public QMUIDialog(android.content.Context context,
int styleRes)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate 在类中 android.app.Dialogpublic void setCancelable(boolean cancelable)
setCancelable 在类中 android.app.Dialogpublic void setCanceledOnTouchOutside(boolean cancel)
setCanceledOnTouchOutside 在类中 android.app.Dialogpublic void showWithImmersiveCheck(android.app.Activity activity)
public void showWithImmersiveCheck()
public void show()
show 在类中 android.app.Dialog