84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
请问各位那个已签到的按钮是怎么做出来的(背景透明但是外围有一圈不透明的环绕线)。
认证高级PHP讲师
已经解决了可以通过设置背景shape图片来解决 shape代码如下<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"><corners
android:topLeftRadius="100dp" android:topRightRadius="100dp" android:bottomRightRadius="100dp" android:bottomLeftRadius="100dp">
</corners><stroke
android:width="3dp" android:color="#bebebe">
</stroke></shape>
用 shape 画
<?xml version="1.0" encoding="utf-8"?> <shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@android:color/transparent"/> <stroke android:color="@android:color/darker_gray" android:width="1dp"/> <corners android:radius="20dp"/> </shape>
已经解决了可以通过设置背景shape图片来解决 shape代码如下
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
</corners>
<stroke
</stroke>
</shape>
用 shape 画