I have the following code:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<stroke android:color="@color/conversation_border" android:width="1dp"/>
<solid android:color="@color/conversation_is_user_bg"/>
<corners android:radius="1dp" />
<padding android:left="7dp" android:top="1dp" android:right="1dp" android:bottom="7dp"/>
</shape>
When i apply it to TextView, all is OK. but when i replace
<corners android:radius="1dp" />
with
<corners android:bottomLeftRadius="8dp"
android:topLeftRadius="0"
android:topRightRadius="0"
android:bottomRightRadius="0" />
I have anexception.
I already tried not to remove android:radius
attribute, provide radius in px and dp, and result is always
error!
UnsupportedOperationException: null
which is very descriptive. What am I doing wrong and how to round only bottom left corner of the text view?