Android Question Using JavaObject or Reflector to get height of TabStripViewPager ?

Martin D.

Member
Licensed User
Hi,

TabStripViewPager exposes very few attributes and I'm trying to get the height of the whole TabStrip.

I have not been able to obtain this value using code such as :

Dim r As Reflector
r.Target = tabStrip
Dim tabStripHeight As Int = r.RunMethod("getMeasuredHeight")

However I know it's in there, using "Watch" panel : TabStrip.target.base.mMeasuredHeight.

How can I access this value ?

Thanks a lot.
 
Top