From 011cb9103586e6fe94ea9a675496a9c49ab37aed Mon Sep 17 00:00:00 2001 From: 姚旭斌 <15805828761@163.com> Date: Sat, 24 Mar 2018 11:14:40 +0800 Subject: [PATCH] no message --- app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java b/app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java index 13f2fbe..fffa8f2 100644 --- a/app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java +++ b/app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java @@ -86,8 +86,8 @@ public class TextAndImgShowView extends LinearLayout { DisplayUtils.dp2px(layout_control.getPaddingLeft() + layout_control.getPaddingRight()+20 )) / 4; layout.setLayoutParams(params); - LayoutParams params1 = new LayoutParams(DisplayUtils.px2dp(110), DisplayUtils.px2dp(110)); - ToastUtils.showToast(DisplayUtils.px2dp(110)+""); + LayoutParams params1 = new LayoutParams(DisplayUtils.dp2px(40), DisplayUtils.dp2px(40)); +// ToastUtils.showToast(DisplayUtils.dp2px(40)+""); image.setLayoutParams(params1); } } -- libgit2 0.21.0