How to remove border of whole recyclerview which was added using xml?


<!-- res/drawable/border.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <stroke
        android:width="7dp"
        android:color="@color/black" />
    <corners android:radius="4dp" /> <!-- Optional rounded corners -->
</shape>
<!-- code used to add border-->

playerRV.setBackgroundResource(R.drawable.border);

I added border to recycleview using xml drawable, I want to know is how to remove by java code

1
Apr 14 at 8:34 AM
User AvatarNiranjan Rai
#java#android#xml#android-drawable

No answer found for this question yet.