I have this XML
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:thickness="0dp"> <stroke android:width="2dp" android:color="@color/ntz_color_yellow" /> <corners android:radius="2dp" /> </shape> If I give it to my view as background, then I get an outline around my view. I need to add a vertical line to the XML in the middle. I know how to draw a horizontal line in XML
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:width="1dp" android:color="#000000"> </stroke> </shape> But how to combine this into one XML? So that there was a contour and in the middle from edge to edge there was a vertical line? As a separator of sorts?