下のような形にしたいと思います。私が見逃しているのは、ヘッダーの色(匿名テキストの背後の色)です。2番目のテキストビューの上にマウスを移動するだけで、必要なものを再現しました。これにより、ハイライト表示され、この効果が得られます:)
現在のコード:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="2dp" android:color="#000000" />
<gradient android:startColor="#898989" android:endColor="#B5B5B5" android:angle="270"/>
<corners android:bottomRightRadius="7dp" android:bottomLeftRadius="7dp"
android:topLeftRadius="7dp" android:topRightRadius="7dp"/>
</shape>