Android toolbar各类知识

manifest中

<uses-sdkandroid:minSdkVersion="18"/> 为11以及以上则默认有ActionBar

默认是关闭 打开则需要

http://www.jb51.net/article/67661.htm


android 2.1以下需要添加Sherlockbar开源包或android-support-v7

第一种:使用Sherlockbar产生toolbar,已经很详尽

重点部分为更改manifest 里面的theme

http://blog.csdn.net/icyfox_bupt/article/details/9286387


Android4.0及以上actionbar使用方法 非常详尽

http://blog.csdn.net/guolin_blog/article/details/18234477

你可能感兴趣的:(Android,studio)