In My android xml layout i am applying the border by using the borderframe.xml as a background.
borderframe.xml file is looks like below:
I got the solution on one of the forums. I solved it by commenting each corner & adding to the xml in drawable. I have retained commented code below only for understanding.
XML Code-
---Edited- The above code is my back.xml in drawable folder and if required you can add padding to the same back.xml. For those who are new developers, the back.xml is referenced from your layout file as follows
Hope this helps.