形状の色を画像として設定しようとしていますが、失敗しています。多分誰かがこれを適切な方法で行う方法を教えてくれますか? この形をボタンの背景として使用します。
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:bottomRightRadius="7dp"
android:bottomLeftRadius="7dp"
android:topLeftRadius="7dp"
android:topRightRadius="7dp"/>
<stroke
android:width="0.5dp"
android:color="#ff0000" />
<solid android:color= "@drawable/tableback1" />
</shape>