1
私はアンドロイドが初めてです。アンドロイドで次のような形を描く方法を教えてください。私はどんな助けにも感謝します。ありがとう。 Androidドローカスタムシェイプ
私はアンドロイドが初めてです。アンドロイドで次のような形を描く方法を教えてください。私はどんな助けにも感謝します。ありがとう。 Androidドローカスタムシェイプ
public class CustomView extends View{
public onDraw(Canvas canvas){
// Take paint object
Paint fillBackgroundPaint = new Paint();
fillBackgroundPaint.setColor(ContextCompat.getColor(context, R.color.black));
// Draw lines and Rectangles by using the below methods on canvas
canvas.drawLine()
canvas.drawRect()
}
}