Should I use AppCompat v7 if minsdk is 14

前端 未结 2 1726
半阙折子戏
半阙折子戏 2021-02-13 13:11

should I still use app compat v7 if my app has minSdk = 14?

Is there any advantage with ActionBar in Android L ?

Should I use android.support.v4.app.FragmentActi

相关标签:
2条回答
  • 2021-02-13 13:24

    AppCompat is used for api level below 11. Since 11 you have action bar natively. So there is no need to use AppCompat on api levle 11 and above.

    Extend Activtiy and use Fragment ( not android.support.v4.app.Fragment)

    0 讨论(0)
  • 2021-02-13 13:25

    If you want to use Material Design style for SDK 14+, you should also use AppCompat v7:21.0.+

    You app can use Material as its main theme, and functional from API 7.

    More info you can check this link

    0 讨论(0)
提交回复
热议问题