|
|
@@ -94,7 +94,6 @@ public class ViewUtil {
|
|
|
TextView tv_link = view.findViewById(R.id.tv_link);
|
|
|
TextView save_pic = view.findViewById(R.id.save_pic);
|
|
|
final ImageView iv_qr = view.findViewById(R.id.iv_qr);
|
|
|
- ImageView iv_qr_small = view.findViewById(R.id.iv_qr_small);
|
|
|
|
|
|
tv_link.setText(link);
|
|
|
|
|
|
@@ -107,8 +106,7 @@ public class ViewUtil {
|
|
|
if(window != null) {
|
|
|
android.view.WindowManager.LayoutParams p = window.getAttributes();
|
|
|
p.height = WindowManager.LayoutParams.WRAP_CONTENT;
|
|
|
-// p.height = G.WIDTH;
|
|
|
- p.width = G.WIDTH;
|
|
|
+ p.width = WindowManager.LayoutParams.MATCH_PARENT;
|
|
|
dialog.getWindow().setAttributes(p); //设置生效
|
|
|
}
|
|
|
iv.setOnClickListener(new View.OnClickListener() {
|