public class QMUITipDialog
extends android.app.Dialog
QMUITipDialog.Builder 或 QMUITipDialog.CustomBuilder 生成。
QMUITipDialog.Builder 提供了一个图标和一行文字的样式, 其中图标有几种类型可选, 见 QMUITipDialog.Builder.IconTypeQMUITipDialog.CustomBuilder 支持传入自定义的 layoutResId, 达到自定义 TipDialog 的效果。| 限定符和类型 | 类和说明 |
|---|---|
static class |
QMUITipDialog.Builder
生成默认的
QMUITipDialog
提供了一个图标和一行文字的样式, 其中图标有几种类型可选。 |
static class |
QMUITipDialog.CustomBuilder
传入自定义的布局并使用这个布局生成 TipDialog
|
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| 构造器和说明 |
|---|
QMUITipDialog(android.content.Context context) |
QMUITipDialog(android.content.Context context,
int themeResId) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
onCreate(android.os.Bundle savedInstanceState) |
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, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu