样式: 布局: layout dialog_set_pwd.xml 状态选择器: drawable btn_blue_selector.xml btn_white_selector.xml 引用值 values colors.xml 代码: ...
分类:
其他好文 时间:
2016-03-26 06:35:25
阅读次数:
288
给定一个有n个对象(包括k种不同的颜色,并按照1到k进行编号)的数组,将对象进行分类使相同颜色的对象相邻,并按照1,2,...k的顺序进行排序。 样例 给出colors=[3, 2, 2, 1, 4],k=4, 你的代码应该在原地操作使得数组变成[1, 2, 2, 3, 4] 解题 直接快排 标记法
分类:
其他好文 时间:
2016-03-18 21:39:01
阅读次数:
211
默认的eclipse mars中英文字体是Consolas,字体大小是10,该设置如果代码中有中文,那中文的字体会比英文的字体小很多。 解决方法:Window –> Preferences –> General –> Appearance –> Colors and Fonts,在“Colors a
分类:
系统相关 时间:
2016-03-13 22:24:47
阅读次数:
292
View:xmlvisualizer:http://labs.udacity.com/android-visualizer/#/android/sandboxhexcolor:http://www.w3schools.com/colors/colors_hex.aspImageView:<ImageViewandroid:src="@drawable/cake"//don‘tneedtowritethesuffix,justnameandroid:layout_width="wrap_content"a..
分类:
移动开发 时间:
2016-03-08 13:46:29
阅读次数:
181
坚持~坚持~坚持~! Do you like art?What type of paintings do you like?and do you have favorite artist? oil painting 油画 incredible colors 不可思议的色彩 Check out thi
分类:
其他好文 时间:
2016-03-08 09:27:59
阅读次数:
148
1.eclipse 背景色设置:Window->Preferences->General->Editors->Text Editors->Backgroud colors取消System default 设置成:RGB(204,232,207).2.字体大小设置:java 字体:菜单windows>Prefenrence>General Appearance>Colors and Fonts 在右...
分类:
系统相关 时间:
2016-03-07 22:39:39
阅读次数:
416
原题链接在这里:https://leetcode.com/problems/paint-fence/ 题目: There is a fence with n posts, each post can be painted with one of the k colors. You have to p
分类:
其他好文 时间:
2016-03-05 06:52:02
阅读次数:
167
首先 # vi /etc/DIR_COLORS 内的设定“DIR 01;34”,为ls命令的目录的颜色设置,01表示粗体,34表示字体蓝色。 我把它改成了“DIR 01;37;44”,37是字体白色,44是字背景蓝色,视觉效果还可以,而且习惯上也能接受。 然后,执行 # eval `dircolor
分类:
其他好文 时间:
2016-03-04 16:12:51
阅读次数:
140
他的颜色代码配置文件,不在安装目录下,这让我好找啊~ C:\Users\Administrator\AppData\Roaming\Adobe\Dreamweaver CC 2014\zh_CN\Configuration\CodeColoring Colors.xml <codeColors> <
分类:
其他好文 时间:
2016-03-01 12:18:36
阅读次数:
221
第一步、首先在你项目中创建一个包存放支持下拉刷新和上拉加载的类: 第二步、需要把两个动画导入进来,实现180度旋转与360度旋转: 第三步、需要把支持的下拉与上拉显示的隐藏加载布局给导入进来 第四步、需要添加strings.xml与colors.xml文件的内容添加到项目里面: strings.xm
分类:
其他好文 时间:
2016-02-27 15:03:26
阅读次数:
180