Basically I have a linear layout with a custom background drawable in order to round the corner. I only want to round the bottom left and bottom right corner.
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<corners android:radius="5dp"/>
<solid android:color="#000000" />
</shape>
</item>
<item android:left="5dp" android:right="5dp" android:bottom="5dp">
<shape android:shape="rectangle">
<corners android:topLeftRadius="0.01dp" android:bottomLeftRadius="5dp" android:bottomRightRadius="5dp" android:topRightRadius="0.01dp" />
<solid android:color="@color/app" />
</shape>
</item>
However, this xml doesn't work. I still get all corner rounded even though I have set an extremely small values for top left and right corner radius. Can anyone help me?