アンドロイドでは、フォルダ内のshapeファイルを定義したい:以下のように:drawablemyShape.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/white"/>
<corners android:radius="@dimen/corner"/>
<stroke
android:width="5dp"
android:color="@color/boder_endcall_color"/>
</shape>
でグラデーションの境界線を作成したいのです<stroke />が、実際には方法がわかりません。だから誰もが色で作成shapeする例を与えることができますか?ありがとう!gradientstroke
編集:(赤)から(赤みがかった)gradientの色が欲しいです。#F85C5C#F68282
