Skip to content

Commit

Permalink
优化默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyoona7 committed May 11, 2018
1 parent 1fc3894 commit c910e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/main/java/com/zyyoona7/lib/BasePopup.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public abstract class BasePopup<T extends BasePopup> implements PopupWindow.OnDi
private boolean mOutsideTouchable = true;

//宽高
private int mWidth;
private int mHeight;
private int mWidth=ViewGroup.LayoutParams.WRAP_CONTENT;
private int mHeight=ViewGroup.LayoutParams.WRAP_CONTENT;

private int mAnimationStyle;

Expand All @@ -76,7 +76,7 @@ public abstract class BasePopup<T extends BasePopup> implements PopupWindow.OnDi
private Transition mEnterTransition;
private Transition mExitTransition;

private boolean mFocusAndOutsideEnable;
private boolean mFocusAndOutsideEnable=true;

private View mAnchorView;
@YGravity
Expand Down

0 comments on commit c910e0a

Please sign in to comment.