I don't see how this changes the size of individual tabs.
*
*This code should get you the first tab in the TabHost... If you passed an
argument of 1 that would get you the secont tab. Then you are setting the
width and height on that tab with the call to setLayoutParams():
I don't see how this changes the size of individual tabs. Have you tested
it?
On Friday, May 29, 2009 12:00:33 AM UTC-4, Rockingteam wrote:
Try this.
tabHost.getTabWidget().getChildAt(0).setLayoutParams(new
LinearLayout.LayoutParams(width,height));
--
You received this message because
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
3 matches
Mail list logo