How to change MobileRTCVideoView Shape to rounded rectange and add border to it

I am using MobileRtcVideoView, want to add background with rounded corner and borders. but is working as expected

1 Like

To add a background with rounded corners and borders to MobileRtcVideoView, you can wrap it in a CardView or a custom RelativeLayout. Set the background drawable for rounded corners and use padding for the borders. Ensure you specify the corner radius and border attributes in your XML layout or programmatically.