私のAndroidxmlレイアウトでは、borderframe.xmlを背景として使用して境界線を適用しています。
borderframe.xmlファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="1dip"
android:color="#ffffff"/>
<solid
android:color="#95865F"/>
<corners
android:radius="10px"/>
<padding
android:left="1dp"
android:right="1dp"
android:top="1dp"
android:bottom="1dp"/>
</shape>
さて、android:radius = "10px"がある間は機能しますが、特定のコーナーにのみ丸い形を与えると機能しません。log catにエラーメッセージはありませんが、Eclipseで次のようなエラーが見つかりました:
The graphics preview in the layout editor may not be accurate:
* Different corner sizes are not supported in Path.addRoundRect.
そのxmlファイルにパディングがない場合でも、境界線は表示されません。
さて、私はそれのために何をしなければなりませんか?topLeftcornerとbottomLeftCornerのみに丸みを帯びた境界線を作成したい場合の解決策は何ですか。?ありがとう。