图片加边框
来源:互联网 发布:淘宝店铺导航不在了 编辑:程序博客网 时间:2024/04/30 00:49
<LinearLayout android:id="@+id/linear_studentphoto" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/shape_photo_bg" > <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="10dp" android:scaleType="centerCrop" android:src="@mipmap/baobao" android:id="@+id/student_photo" /></LinearLayout>
linear_studentphoto = (LinearLayout) view.findViewById(R.id.linear_studentphoto);int photokuan = getDeviceWidth() / 7 * 3;int photogao = photokuan * 10 / 7;linear_studentphoto.setLayoutParams(new LinearLayout.LayoutParams(photokuan, photogao));
0 0
- 图片加边框 (css)
- 给图片加边框
- Android 图片加边框
- Android图片加边框
- 图片加边框
- 圆形加边框图片
- 图片加特定边框
- 图片加边框
- js-图片加边框
- PS 给图片加边框
- Android 给图片加边框
- (图片显示加边框)
- PHP 给图片加边框
- Android:给图片加边框
- 圆角图片(加边框)
- CSS实现图片选中加边框效果
- Android中给图片加边框
- 在网页中为图片加边框
- html5学习
- CS301n课程介绍
- echarts个人使用总结
- select真的有限制吗
- 关于学习RN和微信小程序一个月随感
- 图片加边框
- 字符串的模式匹配问题
- NOIP前必须记住的30句话(有补充)
- PL/SQL通过修改配置文件的方式实现数据库的连接听语音
- Ajax对缓存的处理
- ios --编译报错
- mysql多表关联查询进行数据修改
- 13.2System类中的常用方法
- Linux bash脚本