Android Question How to determine dimension of TabStripViewPager?

Diceman

Active Member
Licensed User
I want to add new panels to a TabStripViewPage like in the article https://www.b4x.com/android/forum/t...-tab-page-programmatically.78631/#post-498276

But I want to put a gap around the panel of 10dip so it doesn't completely fill the TabStripViewPager, like the other panels. In order to do that I need to know the size of the TabStripViewPager. I was hoping there was something like TabStripViewPager.AsView, but there isn't.

I tried using padding on the panel, but that didn't work either.
Page.Padding = Array As Int(10dip, 10dip, 10dip, 10dip)

And how do I determine the dimension of the panel so I can position views on it?

Any idea?
TIA
 
Top