私は形を掘り下げていて、答えを見つけるのが難しいいくつかの質問を見つけました。あなたが私を助けることができることを願っています:
1-shape = "0"の意味は何ですか?
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="0"
>
2-なぜコーナーの正確な値を設定するのですか?形状をXMLに変換するツールはありますか?それがそのような精度の理由ですか?
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="0"
>
<gradient
...
>
<corners
android:topLeftRadius="0.100000024dip"
android:topRightRadius="0.100000024dip"
android:bottomLeftRadius="10.0dip"
android:bottomRightRadius="10.0dip"
>
</corners>
</shape>
3-背景のグラデーションに最適な半径はどれくらいですか?300以上の価値を使う人もいます。
ありがとう