strong text我想圍繞文本視圖的唯一一側,如左上角的圓和 右上角的圓,我使用此代碼。但它不會工作。如何在android中對文本視圖的一角進行圓角修改
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/login_layout" />
<stroke
android:width="1dp"
android:color="@color/login_layout" />
<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />
<corners
android:bottomLeftRadius="0dip"
android:bottomRightRadius="0dip"
android:topLeftRadius="10dip"
android:topRightRadius="10dip" />
</shape>
它顯示與新的Android Sutdio 2.3。+ – blueware