首页 > 其他 > 详细

ActionBar

时间:2017-01-24 07:44:30      阅读:289      评论:0      收藏:0      [点我收藏+]

ActionBar

  技术分享

  The ActionBar APIs were first added in Android 3.0 (API level 11) but they are also available in the Support Library for compatibility with Android 2.1 (API level 7) and above.

  

Caution: Be certain you import the ActionBar class (and related APIs) from the appropriate package:

    • If supporting API levels lower than 11: 
      import android.support.v7.app.ActionBar
    • If supporting only API level 11 and higher: 
      import android.app.ActionBar
  • AppCompatActivity - Adds an application activity class that can be used as a base class for activities that use the Support Library action bar implementation.

参考:http://android.xsoftlab.net/guide/topics/ui/actionbar.html  

 

ActionBar

原文:http://www.cnblogs.com/tekkaman/p/6346213.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!