|
|
@@ -14,7 +14,6 @@ import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsButtonInfoBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsMoreInfoBean;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
-import kr.co.zumo.app.lifeplus.util.ScreenUtil;
|
|
|
import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.contents.view.MoreInfoView;
|
|
|
@@ -93,7 +92,8 @@ public class MoreInfoDialog extends DialogBottomBase<ICustomDialogListener<MoreI
|
|
|
@Override
|
|
|
public void onScreenResized(int width, int height) {
|
|
|
if (null != getView()) {
|
|
|
- ScreenUtil.updateBottomPadding(getView());
|
|
|
+ getView().getLayoutParams().height = (height >> 1) + ResourceUtil.dpToPx(54);
|
|
|
+ getView().requestLayout();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -102,7 +102,7 @@ public class MoreInfoDialog extends DialogBottomBase<ICustomDialogListener<MoreI
|
|
|
getDialog().getWindow().getAttributes().windowAnimations = R.style.DialogMoreInfoAnimation;
|
|
|
|
|
|
//dialog height 설정
|
|
|
- getView().getLayoutParams().height = (screenHeight >> 1) + ResourceUtil.dpToPx(54);
|
|
|
+ onScreenResized(0, screenHeight);
|
|
|
|
|
|
LinearLayout layoutMoreInfoContainer = getView().findViewById(R.id.layout_more_info_container);
|
|
|
|