↧
Answer by Meenal for Android TextView Padding with a drawable background in xml
try this..if this matches your requirement : <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="18sp" android:gravity="center"...
View ArticleAndroid TextView Padding with a drawable background in xml
So... a known Android issue is that setting a drawable background to a TextView in conjunction with setting the padding (e.g. paddingLeft) will only work if the background is set before the padding.So...
View Article