Here is border xml And I want to remove bottom, how to achieve it?
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:topLeftRadius="10dp"
android:topRightRadius="10dp" />
<solid android:color="@android:color/transparent" />
<stroke
android:width="1dp"
android:color="#DECF7E" />
</shape>

Can you please try below code and check if it gives desired result? It basically creates one background shape and and another shape in front of it. Background shape is just not including padding for bottom