zoukankan      html  css  js  c++  java
  • Android学习笔记---Material Design设计理念

    具体自己百度,我直接贴用法咯,

    styles.xml 

    <resources>
    
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    
        <!--文本的默认颜色-->
        <item name="android:textColorPrimary">#FF0000</item>
    
        <!--输入框  等  未选中的颜色  也可以用来修改 返回箭头 和 更多的颜色 -->
        <item name="colorControlNormal">#FFFF00</item>
    
    
        <item name="android:windowBackground">@color/colorAccent</item>
    
        <item name="android:navigationBarColor">#FF0000</item>
    
    </style>
    
    
        <style name="toolbarTheme" parent="ThemeOverlay.AppCompat.ActionBar">
            <!--修改 返回箭头 和 更多的颜色 -->
            <item name="colorControlNormal">#FF00FF</item>
            <!--菜单文字颜色 和 标题的默认颜色-->
            <item name="android:textColorPrimary">#FFFF00</item>
        </style>
    
    
    </resources>
  • 相关阅读:
    Server Apache Tomcat v7.0 at localhost failed to start.
    iOS-UITextField、一些知识点
    iOS-UIButton
    iOS-URL
    iOS-UITableView(三)
    iOS-MVC(转)
    iOS-UITableView(二)
    iOS-UITableView(一)
    iOS-UIScrollView以及代理
    iOS-UIView常见方法、xib的基本使用
  • 原文地址:https://www.cnblogs.com/langfei8818/p/6079059.html
Copyright © 2011-2022 走看看