Android Question Views inside TabHost ... and width

pierrem

Member
Licensed User
Longtime User
Update : not having such problem on an newer device/android ....

Hi,

My explanations hereunder will be (really) more clear while running the zip ...

In this dummy project, I have :
1 TabHost with 2 tabs.

The 1st tab contains a ScrollView

In this ScrollView, I add within a loop a Panel loaded from a .bal file.

The problem :

How to set the Panel.width to fit entirely the ScrollView (in fact, the ScrollView.Panel), while not be to wide ?

What I have found/seen/understood :
Tho be fully seen, the Panel has to be 'a little bit' less wide as its parent.
The question is how much is 'a little bit' ?



...or maybe I missed something
:)
 

Attachments

  • views-width.zip
    9.4 KB · Views: 208
Last edited:
Top