| | |
| | |
|
| | | RelativeLayout mLayout = holder.findViewById(R.id.fragment_home_bottom_register_cell_relative_layout);
|
| | | ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
|
| | | layoutParams.height = WindowsUtil.dip2px(context, 127);
|
| | | layoutParams.width = WindowsUtil.dip2px(context, 122);
|
| | | layoutParams.height = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h127dp);//WindowsUtil.dip2px(context, 127);
|
| | | layoutParams.width = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h122dp);//WindowsUtil.dip2px(context, 122);
|
| | | mLayout.setLayoutParams(layoutParams);
|
| | |
|
| | | final Object data = this.getItem(position);
|