展会信息港展会大全

如何实现单边屈角效果?
来源:互联网   发布日期:2016-01-14 11:31:42   浏览:1949次  

导读:?xml version=1.0 encoding=utf-8? shape android:shape=rectangle xmlns:android=http://schemas.android.com/apk/res/android corners android:topLeftRadius=5dp android:topRightRadius=5dp android:bottomLeftRadius=30dp android:bottomRightRadius=30...

<?xml version="1.0" encoding="utf-8"?>

<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android">

<corners

android:topLeftRadius="5dp"

android:topRightRadius="5dp"

android:bottomLeftRadius="30dp"

android:bottomRightRadius="30dp"/>

<!-- 这是半透明,还可以设置全透明,那就是白色边框的效果了 -->

<solid android:color="#ff065e8d" />

<stroke

android:dashGap="0dp"

android:width="4dp"

android:color="@android:color/white" />

</shape>

赞助本站

人工智能实验室

相关热词: android开发 android教程

相关内容
AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港