Good day! Is it possible to move TabHost tabs to the bottom of the screen? I went through the settings, did not see anything like it.

  • one
    Switch to TabLayout - a more modern version of what you need. - Yuriy SPb
  • one
    on the guidelines for the "bottom" navigation uses the bottom sheets , and not tabs - pavlofff
  • @pavlofff for the link thanks! very useful stuff! - x555xx

1 answer 1

<TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentTop="true" android:layout_above="@android:id/tabs" /> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" /> </RelativeLayout> </TabHost>