i have a design which demands a background like the image below for the number on the right hand side. Is there any we can achieve this in Android ?
First, create a shape to have rounded corners.
Then apply this as the background to your Views:
You may need to do some tweaking. You may even be able to discard the LinearLayout and set the android:background of the TextView to @drawable/rounded_edges
LinearLayout
android:background
TextView
@drawable/rounded_edges