xuxiuxi
2017-04-18 4dcad62f9276d34d13ff6e35bd8b0a910a1df3f1
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/SurveillanceFragment.java
@@ -69,6 +69,8 @@
            ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
            layoutParams.height = WindowsUtil.dip2px(context, 127);
            layoutParams.width = WindowsUtil.dip2px(context, 104);
//            layoutParams.height = WindowsUtil.px2dip(context, 480);
//            layoutParams.width = WindowsUtil.px2dip(context, 640);
            mLayout.setLayoutParams(layoutParams);
            final Object data = this.getItem(position);
@@ -104,6 +106,8 @@
            ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
            layoutParams.height = WindowsUtil.dip2px(context, 127);
            layoutParams.width = WindowsUtil.dip2px(context, 104);
//            layoutParams.height = WindowsUtil.px2dip(context, 480);
//            layoutParams.width = WindowsUtil.px2dip(context, 640);
            mLayout.setLayoutParams(layoutParams);
            ImageView fragment_home_bottom_visitor_cell_photo = (ImageView) mLayout.findViewById(R.id.fragment_home_bottom_visitor_cell_photo);