Для создания пользовательской фигуры, вот проект Github - ShapeOfView
В ShapeOfView вы можете использовать com.github.florent37.shapeofview.shapes.DiagonalView
Зависимость: implementation 'com.github.florent37:shapeofview:(lastest version)'
Попробуйте следующий код:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<com.github.florent37.shapeofview.shapes.DiagonalView
android:layout_weight=".5"
android:layout_width="0dp"
android:layout_height="40dp"
app:shape_diagonal_angle="-10"
app:shape_diagonal_position="right">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Text1"
android:gravity="center"
android:layout_gravity="center"
android:textColor="@android:color/white"
android:background="@drawable/bg_left_side"/>
</com.github.florent37.shapeofview.shapes.DiagonalView>
<com.github.florent37.shapeofview.shapes.DiagonalView
android:layout_weight=".5"
android:layout_width="0dp"
android:layout_height="40dp"
app:shape_diagonal_angle="-10"
app:shape_diagonal_position="left">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Text2"
android:gravity="center"
android:layout_gravity="center"
android:textColor="@android:color/white"
android:background="@drawable/bg_right_side"/>
</com.github.florent37.shapeofview.shapes.DiagonalView>
</LinearLayout>
Вывод кода выше: 
Я надеюсь, что он работает для вас.