Which Element Do I Need To Modify To Add Padding Between A Drawable And Its Enclosed Elements?
Based on what I learned here, I was able to add some 'fences' around groupings of related widgets: But, as you can see, the second/lower box is crowding the first radio button tex
Solution 1:
Yes, you can add some padding, which will result in som inner space added:
<?xml version="1.0" encoding="utf-8"?><shapexmlns:android="http://schemas.android.com/apk/res/android"android:shape="rectangle"
><paddingandroid:left="4dp"android:top="4dp"android:right="4dp"android:bottom="4dp"
/><strokeandroid:width="1dp"android:color="#f000"
/></shape>
Feel free to experiment different values other than 4dp (even different for top/bottom, left/right sides)
Post a Comment for "Which Element Do I Need To Modify To Add Padding Between A Drawable And Its Enclosed Elements?"