设置颜色是在主题里面:colorAccent颜色值 ...
分类:
其他好文 时间:
2016-04-12 19:34:01
阅读次数:
473
之前把android:color写成了 android:drawable 报错 ...
分类:
移动开发 时间:
2016-04-07 15:55:49
阅读次数:
1014
unit ColorButton; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, StdCtrls; type TColorButton = class(TButton) private //添加Co ...
1、判断sd卡是否存在 boolean sdCardExist = Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); 2、TextView部分文字设置颜色 TextView tv = ...
分类:
移动开发 时间:
2016-03-31 16:31:15
阅读次数:
227
创建选项卡对象 需要关联到小窗体对象(JPanel) 但对运用 Jpanel 对象是不可见的 ,需要用到边框并设置颜色才可见 JPnael对象与选项卡对象关联后,就不需要对小窗体对象进行设置了(小窗体对象及其关联的组件(这是一个整体) 自动与选项卡相匹配 在关联小窗体的组件的类中 需要继承 JPan ...
分类:
其他好文 时间:
2016-03-31 01:56:32
阅读次数:
153
字体排版中常用到的属性: font-family: "Micrsoft Yahei"; 设置字体 font-size: 20px; 设置字号 color: red; 设置颜色 font-weight: bold; 文字加粗 font-style: italic; 文字斜体 text-decorati ...
分类:
Web程序 时间:
2016-03-27 17:46:36
阅读次数:
164
在网页中的颜色设置是非常重要,有字体颜色(color)、背景颜色(background-color)、边框颜色(border)等,设置颜色的方法也有很多种: 1、英文命令颜色 前面几个小节中经常用到的就是这种设置方法: 2、RGB颜色 这个与 photoshop 中的 RGB 颜色是一致的,由 R( ...
分类:
Web程序 时间:
2016-03-24 12:53:43
阅读次数:
164
自定义三角符号<style>
.arrow{
display:inline-block;
border-top:10pxsolid;
border-right:10pxsolid;
border-bottom:10pxsolid;
border-left:10pxsolid;
/*border-top:transparent;设置颜色为透明色,transparent为透明色*/
border-top-color:transparent;
border-ri..
分类:
编程语言 时间:
2016-03-08 00:42:38
阅读次数:
325
css可以使页面更加的美化,16进制是设置颜色值的常用方式,将三个介于00-FF的十六进制数连接起来,若16进制的3组数各自成对,则可简写为3位。如:scrollbar-3dlight-color:#999; scrollbar-darkshadow-color:#999; scrollbar-hi
分类:
Web程序 时间:
2016-03-05 23:33:49
阅读次数:
238
一.添加子视图控制器 二.设置颜色 设置颜色:两种方法 一种较为繁琐,详见视频 第二种: //设置颜色 self.tabBar.tintColor = UIColor.orangeColor()
分类:
其他好文 时间:
2016-03-03 06:50:20
阅读次数:
115