android xml设置圆形,通过XML 自定义 设置圆形BUTTON
shape_left_corner.xmlandroid:shape="rectangle" >android:width="0.5dp"android:color="#37C130" />android:bottomLeftRadius="10dp"android:bottomRightRadius="0dp"android:topLeftRadius="10dp"android:t
shape_left_corner.xml
android:shape="rectangle" >
android:width="0.5dp"
android:color="#37C130" />
android:bottomLeftRadius="10dp"
android:bottomRightRadius="0dp"
android:topLeftRadius="10dp"
android:topRightRadius="0dp" >
android:bottom="10dp"
android:left="10dp"
android:right="10dp"
android:top="10dp" />
shape_right_corner.xml
android:shape="rectangle" >
android:width="0.5dp"
android:color="#37C130" />
android:bottomLeftRadius="0dp"
android:bottomRightRadius="10dp"
android:topLeftRadius="0dp"
android:topRightRadius="10dp" >
android:bottom="10dp"
android:left="10dp"
android:right="10dp"
android:top="10dp" />
总结
如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
小编个人微信号 jb51ccc
喜欢与人分享编程技术与工作经验,欢迎加入编程之家官方交流群!
更多推荐
所有评论(0)