public class RxDialog
extends android.app.Dialog
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| 限定符和类型 | 字段和说明 |
|---|---|
protected android.content.Context |
mContext |
protected android.view.WindowManager.LayoutParams |
mLayoutParams |
| 构造器和说明 |
|---|
RxDialog(android.content.Context context) |
RxDialog(android.content.Context context,
boolean cancelable,
android.content.DialogInterface.OnCancelListener cancelListener) |
RxDialog(android.content.Context context,
float alpha,
int gravity) |
RxDialog(android.content.Context context,
int themeResId) |
| 限定符和类型 | 方法和说明 |
|---|---|
android.view.WindowManager.LayoutParams |
getLayoutParams() |
void |
setFullScreen()
设置全屏显示
|
void |
setFullScreenHeight()
设置高度为match_parent
|
void |
setFullScreenWidth()
设置宽度match_parent
|
void |
setOnWhole() |
void |
skipTools()
隐藏头部导航栏状态栏
|
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, onCreate, 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, unregisterForContextMenuprotected android.content.Context mContext
protected android.view.WindowManager.LayoutParams mLayoutParams
public RxDialog(android.content.Context context,
int themeResId)
public RxDialog(android.content.Context context,
boolean cancelable,
android.content.DialogInterface.OnCancelListener cancelListener)
public RxDialog(android.content.Context context)
public RxDialog(android.content.Context context,
float alpha,
int gravity)
context - 上下文alpha - 透明度 0.0f--1f(不透明)gravity - 方向(Gravity.BOTTOM,Gravity.TOP,Gravity.LEFT,Gravity.RIGHT)public android.view.WindowManager.LayoutParams getLayoutParams()
public void skipTools()
public void setFullScreen()
public void setFullScreenWidth()
public void setFullScreenHeight()
public void setOnWhole()