Android TabHost deprecated

后端 未结 3 1357
广开言路
广开言路 2020-12-30 14:33

I am creating application which will support Android 2.2 to Android 4.1. The TabHost is deprecated in Android version 3.2

3条回答
  •  长发绾君心
    2020-12-30 14:57

    Try out ActionBarSherlock.

    ActionBarSherlock is an extension of the support library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.

    The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.

    Tutorials:

    tutorial 1 , tutorial 2 , tutorial 3

提交回复
热议问题