【发布时间】:2017-10-03 02:25:44
【问题描述】:
我有一个用于自定义 EditText 布局的自定义 xml。但我总是有这样的消息:
这是我的自定义 EditText 布局代码:
<?xml version="1.0" encoding="utf-8" ?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:thickness="0dp"
android:shape="rectangle">
<stroke android:width="3dp"
android:color="#4799E8"/>
<corners android:radius="5dp" />
<gradient
android:startColor="#C8C8C8"
android:endColor="#FFFFFF"
android:type="linear"
android:angle="270"/>
</shape>
</set>
【问题讨论】:
标签: android xml xamarin.android