How to add padding to a tabs label?
<p>I just started programming for android. I'm using a tab based layout in my app. I would like to put some padding around the tab label so that it's not so close to the icon.</p>

<p>here is how the label is put in:</p>

<p>in main.java</p>

<pre><code>spec = tabHost.newTabSpec("tab1").setIndicator(this.getString(R.string.tab1), res.getDrawable(R.drawable.ic_tab1)).setContent(intent);
</code></pre>

<p>and in string.xml</p>

<pre><code>&lt;string name="tab1"&gt;my tab label&lt;/string&gt;
</code></pre>

<p>I've been searching and trying to figure this out for several hours now. I could just make the icons smaller in about two minutes but I like their size. </p>

<p>Can anyone suggest the best way to do simple formatting to the tab label?</p>
