java - How to stick TabWidget in top of the screen while scrolling the layout in Android? -
i have tabwidget in code. how stick in top of screen in layout?
<tabwidget android:id="@android:id/tabs" android:layout_width="match_parent" android:layout_height="55dp" android:tabstripenabled="false"> </tabwidget>
how achieve this?
try using relative layout
<relativelayout android:layout_width="match_parent" android:layout_height="wrap_content"> <tabwidget android:id="@android:id/tabs" android:layout_width="match_parent" android:layout_height="55dp" android:layout_alignparenttop="true" android:tabstripenabled="false"> </tabwidget>
Comments
Post a Comment