So I am currently trying to teach myself some android development and created an activity where it switches between fragments using tabs in the action bar. Its made so you can swipe between the fragments horizontally using swipeview.
I want to make it so the current tab you are on is displayed in the center, and once you swipe to the next fragment, its corresponding tab will now be in the center. Could someone give me some help or indication on how I can accomplish this? I am not using tabhost and I don't want to use any third party libraries.
Also another small question. I can't seem to remove the dividers between the tabs. I tried putting none in my styles.xml where I'm defining my tab bar theme and tried a few other lines but nothing changes.
Thank you
 
No comments:
Post a Comment