Android Tutorial TabStripViewPager - Better ViewPager

Status
Not open for further replies.

RichardHirst

Member
Licensed User
Longtime User
Hello...

Is it possible to Hide the Tabs, so the panel covers all the screen but still slides between each panel..?

Thanks

Richard
 

RichardHirst

Member
Licensed User
Longtime User
OK thanks for the help.. I reduced the TabHeight to zero. Don't know how I missed this one.

Then added this to the Manifest
SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar)

Full screen, no Tabs or Title bar.

 

ilan

Expert
Licensed User
Longtime User

miquelr

Member
Licensed User
Longtime User
'What is the best library for later portability B4i'
For portability of app, not library, of course.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

ilan

Expert
Licensed User
Longtime User
B4X:
Dim jo As JavaObject = tabstrip
jo.GetField("tabStrip").RunMethod("setIndicatorColor", Array(Colors.Red))

i am getting "Unknown Type Object, are you missing a library reference?"

B4X:
Dim jo As JavaObject = TabStrip1
jo.GetField("tabStrip").RunMethod("setIndicatorColor", Array(Colors.Red))
 

asales

Expert
Licensed User
Longtime User

Uses "jo.GetFieldJO" intead of "jo.GetField"
 

trueboss323

Active Member
Licensed User
Longtime User
I would like to make my TabStrip integrate with my actionbar. Is there anyway I can disable that shadow between the TSVP and the actionbar? So the whole thing is in 1 color.
 

aarroyo

Member
Licensed User
Longtime User
When I have more than 20 tabs , load the pager only the first 11 , how you could access panels all tabs ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…