NareshRavva
NareshRavva

Reputation: 863

How to implement action bar nested tabs

i am developing one application in that i have to implement action bar nested tabs

can any one suggest me how to approach this situation

required o/p

enter image description here

when i use tabhost innertabs compresed enter image description here

Problem solved by adding HorizontalScrollView to TabHost

 <HorizontalScrollView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="0"
            android:fillViewport="true"
            android:scrollbars="none" >

            <TabWidget
                android:id="@android:id/tabs"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:background="#D8D8D8"
                android:showDividers="middle" >
            </TabWidget>
        </HorizontalScrollView>

screen shot after adding HorizontalScrollView

enter image description here

Upvotes: 0

Views: 1518

Answers (0)

Related Questions