zoukankan      html  css  js  c++  java
  • Android UI ActionBar功能-启动ActionBar

    官方帮助文档:http://wear.techbrood.com/training/basics/actionbar/index.html

    ----------------------------------------------------------------------------------------------------------------

    ActionBar在官方文档中注明在Android3.0以后的版本(3.0以前的版本需要引入android.support.v7 的Library 详细说明请看官方文档:http://wear.techbrood.com/training/basics/actionbar/setting-up.html)中自带了ActionBar功能,并且配置备了三种主题:

    分别从上往下是:

    Theme.Holo 

    Theme.Holo.Light

    Theme.Holo.Light.DarkActionBar



    只要在应用程序的AndroidManifest.xml中设置其主题即可:

    AndroidManifest.xml的Application 节点中的 android:theme属性,分别为:

    android:theme="@android:style/Theme.Holo" 
    android:theme="@android:style/Theme.Holo.Light"
    
    android:theme="@android:style/Theme.Holo.Light.DarkActionBar"
    



  • 相关阅读:
    连通块问题
    线性数据结构
    NOIP2018总结
    原码反码补码详解
    一些常用的算法技巧总结
    骗分导论
    模板
    模板
    AcWing
    AcWing
  • 原文地址:https://www.cnblogs.com/raphael5200/p/5114783.html
Copyright © 2011-2022 走看看