安卓工具箱:color of Style

 1 <?xml version="1.0" encoding="utf-8"?>
 2 <resources>
 3     <color name="abc_search_url_text_normal">#ff7fa87f</color>
 4     <item type="color" name="abc_search_url_text_selected">@*android:color/black</item>
 5     <item type="color" name="abc_search_url_text_pressed">@*android:color/black</item>
 6     <color name="gray_bg">#ffeeeeec</color>
 7     <color name="gray_bg_2">#fff1f1f1</color>
 8     <color name="gray_txt">#ffaaaaaa</color>
 9     <color name="text_field_pressed">#ffededed</color>
10     <color name="black">#ff000000</color>
11     <color name="white">#ffffffff</color>
12     <color name="white_transparent">#27ffffff</color>
13     <color name="white_disable">#4dffffff</color>
14     <color name="blue">#ff3993cf</color>
15     <color name="blue_renren">#ff4caaf4</color>
16     <color name="blue_renren_pressed">#ff469ce0</color>
17     <color name="green">#ff5ab06c</color>
18     <color name="green_weixin">#ff42bd41</color>
19     <color name="green_weixin_pressed">#ff3cae3b</color>
20     <color name="green_weixin_co_order">#ff4db232</color>
21     <color name="red">#ffd7584a</color>
22     <color name="backColor">#2000</color>
23     <color name="red_dark">#ffa34238</color>
24     <color name="red_weibo">#fffa4c3d</color>
25     <color name="red_weibo_pressed">#ffe64638</color>
26     <color name="orange_ff">#ffff6000</color>
27     <color name="red_light">#ffcd423a</color>
28     <color name="blue_dark">#ff0c72a9</color>
29     <color name="blue_light">#ff3893cf</color>
30     <color name="green_dark">#ff25a044</color>
31     <color name="green_light">#ff4dc060</color>
32     <color name="grey_white">#ffd5d4d2</color>
33     <color name="grey_white_pressed">#ffcccccc</color>
34     <color name="grey">#ff616267</color>
35     <color name="grey_pressed">#ff525559</color>
36     <color name="grey_dark">#ff404850</color>
37     <color name="grey_dark_pressed">#ff363c43</color>
38     <color name="red_for_envelopes">#ffd8584a</color>
39     <color name="color_3">#ff333333</color>
40     <color name="color_4">#ff444444</color>
41     <color name="color_6">#ff666666</color>
42     <color name="color_7">#ff777777</color>
43     <color name="color_8">#ff888888</color>
44     <color name="color_9">#ff999999</color>
45     <color name="color_9a">#ff9a9a9a</color>
46     <color name="color_b">#ffbbbbbb</color>
47     <color name="color_d2">#ffd2d2d2</color>
48     <color name="color_f7">#fff7f7f7</color>
49     <color name="color_f6">#fff6f6f6</color>
50     <color name="color_f5">#fff5f5f5</color>
51     <color name="color_5">#ff555555</color>
52     <color name="color_ef">#ffefefef</color>
53     <color name="color_e">#ffeeeeee</color>
54     <color name="color_ec">#ffececec</color>
55     <color name="color_e9">#ffe9e9e9</color>
56     <color name="default_circle_indicator_fill_color">#ffffffff</color>
57     <color name="default_circle_indicator_page_color">#00000000</color>
58     <color name="default_circle_indicator_stroke_color">#ffdddddd</color>
59     <color name="menu_section_header">#FFDDDDDD</color>
60 </resources>

此xml可直接放在value內。

时间: 2024-10-21 07:23:18

安卓工具箱:color of Style的相关文章

Some May Pick The Perfect Color And Style The Bag May Have

One of the factors that make these bags so well known that it is true that they are very stylish, these bags come in different designs. A wide range of materials such as lacquer is also used to make these bags are very modern edge. Many people who we

手机端横竖屏切换,怎么做才能安卓浏览器及时改变字体大小

<!DOCTYPE html><html><head><meta charset="UTF-8"><title>账号绑定</title><meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"><meta

DOM Style样式对象的详细用法

DOM Style样式对象的详细用法 HTML Style样式比较复杂,相应访问.修改方法也有所差异.参考相关资料,整理如下. 典型Html文件如下,有三种定义方式. <head>     <style type="text/css">                /* 内部样式 */       h3 {color:green;}     </style>             <!-- 外部样式 style.css -->    

文字排版--字号、颜色(font-size, color)

可以使用下面代码设置网页中文字的字号为12像素,并把字体颜色设置为#666(灰色): body{font-size:12px;color:#666} 示例: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>字号.颜色</title> &

color属性是否具有继承性

color属性是否具有继承性: 这个问题应该比较简单,但是还是注意一下,否则可能造成颜色的混乱.先看一段代码实例: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="author" content="http://www.51texiao.cn/" /> <title>蚂蚁部落</title

Simple Style

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" xmlns:

js控制style样式

1.行内样式获取打印出来 2.内嵌和外链的获取不了 <div style="width:200px;height:200px; background: red;"></div> var box=document.getElementsByTagName("div")[0]; console.log( box.style.width) 3.style属性是对象(数组对象) 4.可以索引值取值 console.log(box.style[0]);

JS-DOM ~ 03. 子节点的操作、style.样式和属性、dom元素的创建方法及操作、14个例题、主要是利用js直接控制html属性

带有Element和不带的区别 a)  带Element的获取的是元素节点 b)  不带可能获取文本节点和属性节点 获取所以子节点 a)   . childNodes b)   . children c)   . parentNode . children [索引] . children:获取所有子节点 opacity:0-1:透明度 alpha(opacity:百分数):IE6/7/8透明度 先绑定事件再进行循环 previousNode()上一个兄弟节点 alert(变量名)可测试变量名是否

链接不能继承color的原因

以下均为个人见解,如有错误之处,请大牛帮忙更正. --------------------------------------- <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> div { color:yellow; } </style>