zoukankan      html  css  js  c++  java
  • 【转】Android主题颜色

    https://blog.csdn.net/jinmie0193/article/details/80723724

    android 5.0对改变APP样式下了不少功夫,其中对于颜色,不同的位置有不同的属性,这里简单介绍下

    先看图

    1.colorPrimary                    应用的主要色调,actionBar默认使用该颜色,Toolbar导航栏的底色

    2.colorPrimaryDark            应用的主要暗色调,statusBarColor默认使用该颜色

    3.statusBarColor                 状态栏颜色,默认使用colorPrimaryDark

    4.windowBackground       窗口背景颜色

    5.navigationBarColor        底部栏颜色

    6.colorForeground            应用的前景色,ListView的分割线,switch滑动区默认使用该颜色

    7.colorBackground            应用的背景色,popMenu的背景默认使用该颜色

    8.colorAccent                    CheckBox,RadioButton,SwitchCompat等一般控件的选中效果默认采用该颜色

    9.colorControlNormal        CheckBox,RadioButton,SwitchCompat等默认状态的颜色。

    10.colorControlHighlight   控件按压时的色调

    11.colorControlActivated    控件选中时的颜色,默认使用colorAccent

    12.colorButtonNormal        默认按钮的背景颜色

    13.editTextColor                  默认EditView输入框字体的颜色。

    14.textColor                         Button,textView的文字颜色

    15.textColorPrimary            DisableOnly RadioButton checkbox等控件的文字

    16.textColorPrimary             应用的主要文字颜色,actionBar的标题文字默认使用该颜色

    17.colorSwitchThumbNormal:  switch thumbs 默认状态的颜色. (switch off)

  • 相关阅读:
    oracle 表误更新 (flashback )闪回操作
    经典sql语句大全
    如何让程序自动更新
    C#如何测试代码运行时间
    oracle复制表的sql语句
    NeatUpload的安装使用 文件上传。可传大文件。
    c#实现ftp上传代码
    C# ftp 上传、下载、删除
    oracle cursor 与refcursor及sys_refcursor的区别 -游标(cursor)应用-实例
    Oracle中Merge语句的使用
  • 原文地址:https://www.cnblogs.com/touchmore/p/14265455.html
Copyright © 2011-2022 走看看