добавить два макета, один для фона, а другой для верхней части.затем добавьте верхний фоновый цвет фона белый прозрачный.
пример XML-макета, приведенный ниже
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:background="#c11316">
<TextView
android:text="25"
android:textColor="#ffffff"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_marginEnd="30dp"
android:textSize="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginEnd="150dp"
android:background="#33e4e4e4">
<TextView
android:text="Your Things"
android:textColor="#ffffff"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:textSize="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>