android上面圆角,下面直角 ImageView
来源:互联网 发布:淘宝二级页面链接 编辑:程序博客网 时间:2024/04/28 15:24
android 图片上面圆角,下面直角 ImageView
目前我项目里面只用到这几个属性,其他属性有待你们自己去研究。
研究透彻之后,可以再次分享一下。
<com.zy.makeramen.roundedimageview.RoundedImageView android:id="@+id/imageview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/btn2" android:layout_gravity="center_horizontal" android:layout_marginLeft="17dp" android:layout_marginRight="17dp" android:layout_marginTop="18dp" android:adjustViewBounds="true" android:contentDescription="@null" android:gravity="center" android:padding="1dp" android:scaleType="centerCrop" android:src="@mipmap/adv3" app:riv_border_color="#e6e6e6" app:riv_border_width="10dip" app:riv_corner_radius_bottom_left="0dp" app:riv_corner_radius_bottom_right="0dp" app:riv_corner_radius_top_left="10dp" app:riv_corner_radius_top_right="10dp" app:riv_mutate_background="false" />
DEMO链接
下载之后给好评哦。
2 0
- android上面圆角,下面直角 ImageView
- Android 自定义上面圆角下面直角的ImageView
- Android实现Imageview上面圆角下面直角效果
- android ImageView实现上面圆角下面直角(xml实现方法)
- android ImageView实现上面圆角下面直角(自定义view实现)
- 安卓imageview实现上面两个圆角下面两个直角的效果
- 安卓自定义上面圆角下面直角的RoundCornerImageView
- 设置Button按钮上面圆角下面直角
- Imageview上边圆角,下边直角
- Android--在显示ImageView时图片上面和下面都出现一段空白区间的解决办法
- 【Android】在显示ImageView时图片上面和下面都出现一段空白区间的解决办法
- [视图]上面带描边的圆角,底部不描边的直角 按键xml 去局部描边
- Android中 在显示ImageView时图片上面和下面都出现一段空白区间的解决办法
- Android中 在显示ImageView时图片上面和下面都出现一段空白区间的解决办法
- Android中 在显示ImageView时图片上面和下面都出现一段空白区间的解决办法
- Android开发控件-VarietyImageView(百变ImageView,可以根据要求指定哪个角是圆角,哪个角是直角)
- Android网络图片显示在ImageView 上面
- Android网络图片显示在ImageView上面
- 如何处理服务器SSL收到了一个弱临时Diffie-Hellman 密钥?
- ffmpeg configure 参数翻译
- notepad++快捷键
- HDOJ 2081 手机短号
- android 动画原理二
- android上面圆角,下面直角 ImageView
- HUST 1544 R(N)
- Java Servlet完全教程
- POJ 1010 STAMPS
- SpringMVC4 + Spring + MyBatis3
- Node.js微服务+流水线服务框架的设想
- 杀进程启动服务
- 斐波那契数列的前n项
- HUST 1379 Digits