Closed4
Android のコンポーネントに枠線をつける

これをやってみる

これでも良さそう

shape の要素サンプル

drawable/round_border.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/red_600" />
<corners android:radius="30dp" />
<stroke
android:width="3dp"
android:color="@color/blue_50" />
</shape>
これでいけた
このスクラップは2021/02/03にクローズされました