Re: [android-developers] how to set the size of tab in tabHost?

2012-06-13 Thread Justin Anderson
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():

Re: [android-developers] how to set the size of tab in tabHost?

2012-06-10 Thread igor ganapolsky
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

[android-developers] how to set the size of tab in tabHost?

2009-05-28 Thread stonestrange
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