public class DestructImageDialog
extends DialogFragment
implements android.view.View.OnClickListener
Modifier and Type | Class and Description |
---|---|
static interface |
DestructImageDialog.ImageVideoDialogListener |
Modifier and Type | Field and Description |
---|---|
protected android.app.Dialog |
mDialog |
protected android.view.View |
mRootView |
Constructor and Description |
---|
DestructImageDialog() |
Modifier and Type | Method and Description |
---|---|
protected int |
getGravity() |
protected float |
getHorizontalMovement()
设置竖直方向偏移量
|
protected float |
getScreenWidthProportion()
屏幕占比
|
protected float |
getVerticalMovement()
设置竖直方向偏移量
|
protected void |
initView() |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onClick(android.view.View v) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
setHasImage(boolean pHasImage) |
void |
setHasSight(boolean pHasSight) |
void |
setImageVideoDialogListener(DestructImageDialog.ImageVideoDialogListener pListener) |
void |
show(FragmentManager manager) |
protected android.app.Dialog mDialog
protected android.view.View mRootView
public void setHasSight(boolean pHasSight)
public void setHasImage(boolean pHasImage)
public void setImageVideoDialogListener(DestructImageDialog.ImageVideoDialogListener pListener)
public void onCreate(android.os.Bundle savedInstanceState)
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
protected void initView()
public void onActivityCreated(android.os.Bundle savedInstanceState)
protected int getGravity()
protected float getScreenWidthProportion()
protected float getVerticalMovement()
protected float getHorizontalMovement()
public void show(FragmentManager manager)
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener