Hello
I'm having a problem trying to resize some views that are on a ScrollView within a TabHost panel:
Is there a neat way the Designer Scripts or code can be used to ensure this doesn't happen (obviously apart from making each button 50%x-4dip)?
The panel's width seems to be "-1" which makes it difficult!
Regards
Joe
I'm having a problem trying to resize some views that are on a ScrollView within a TabHost panel:
- I created a TabHost which is the same width as Activity.width.
- I use AddTab2 to add a scrollview to the tab.
- I have two buttons in the scroll view that are on the same line
- Each button should be 50% of the panel's width
- If I size the buttons in code or using the Designer Scripts the button on the right loses about 8 pixels off the edge of the screen
Is there a neat way the Designer Scripts or code can be used to ensure this doesn't happen (obviously apart from making each button 50%x-4dip)?
The panel's width seems to be "-1" which makes it difficult!
Regards
Joe