How to build trapezoid shape in xml android?
I want to build this shape with bottom line and text inside it i'm confused little bit how to achieve this i tired some code but don't get required thing. so far i have tried this code shape.xml <?xml version="1.0" encoding="UTF-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <!-- Colored rectangle--> <item> <shape android:shape="rectangle"> <size android:width="100dp" android:height="40dp" /> <solid android:color="#13a89e" /> </shape> </item> <!-- This rectangle for the right side --> <!-- Their color should be the same as layout's background --> <item android