0

I want a TextView to have a rounded border. This can be done by using a drawable, specifying a shape in the drawable, and then using the drawable as the background of the TextView. android:background="@layout/border" Also shown here

However, my TextView already has a background color (which is gray) and thus I'm unable to use the above method to set a rounded border.

Is there any other method to do this which allows the background color of the TextView to remain gray and also surrounds it with a rounded border?

Community
  • 1
  • 1
vaibhav
  • 52
  • 1
  • 2
  • 8

0 Answers0