Android Question TabStripViewPager: selected tab centered

Andie

Member
Licensed User
Longtime User
I use the TabStripViewPager lib. In the Activity_Create section the third tab (Suche) is selected via TabStrip1.ScrollTo(2). The result is shown in the first pic.

But how is it possible, that the selected tab (in this case "Suche") is automatically centered as shown in the second pic?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…