Android Question ScrollPosition at TabStripViewPager

Javaneh

Member
Hello friends


Sorry, my English is not very good


I use TabStripViewPager in my application


I specified that when starting the app, the tab position should be, for example, 3


The problem I have is that when starting the app, the specified tab is shown on the right side of the tab bar


2C5F649C-7205-46C4-9D39-10C098E15C01.jpeg


I want the specified tab location to appear exactly in the middle of the tab bar.

Actually, my question is how can I manage the horizontal scroll position??

05452BE4-F3DB-47E2-A631-B646B874662D.jpeg
 

Javaneh

Member
Hello friends


Sorry, my English is not very good


I use TabStripViewPager in my application


I specified that when starting the app, the tab position should be, for example, 3


The problem I have is that when starting the app, the specified tab is shown on the right side of the tab bar


View attachment 137008

I want the specified tab location to appear exactly in the middle of the tab bar.

Actually, my question is how can I manage the horizontal scroll position??

View attachment 137009

Does anyone know the answer?
 
Upvote 0
Top