Bellow code worked fine for me -

LayoutParams params 
= tabHost.getTabWidget().getChildAt(0).getLayoutParams();
params.width = 170;
params.height = 120;
tabHost.getTabWidget().getChildAt(0).setLayoutParams(params );

On Thursday, May 28, 2009 11:40:26 PM UTC-4, stonestrange wrote:
>
> hi,guys. 
> Because of i add image on the tab,the tab looks small,and the string 
> of the tab is on the image now. 
> So,i want to make the tab looks larger,and the string of the tab could 
> under the image. 
> what should i do?thank you.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to