in this case, you probably do not want to use tabs. Most likely, you can put all your βtabsβ in a horizontal line layout at the top of the screen, wrapped in a ScrollView, like this
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:layout_width="fill_parent">
<LinearLayout
android:orientation="horizontal" android:layout_height="wrap_content"
android:layout_width="fill_parent">
...buttons go here...
</LinearLayout>
</HorizontalScrollView>
I think this will give you the result you are looking for, but let me know
source
share