别踩白块:齐岳:负责代码的实现(一)blogs:http://www.cnblogs.com/July0207/codes:package com.orange.block;import android.graphics.Color;import android.graphics.Typeface;...
                            
                            
                                分类:
其他好文   时间:
2015-06-03 23:22:04   
                                阅读次数:
347
                             
                    
                        
                            
                            
                                RatingBar一般都是显示整数个数的,这次因为要显示半个的Star,就把之前的样式改了一改,结果,出现了问题:无论怎么设置setpSize的值,每次显示的Star都是整个的。。 ic_orange:ic_gray:ic_setting:结果是这样的:为什么没...
                            
                            
                                分类:
其他好文   时间:
2015-05-31 01:16:35   
                                阅读次数:
11594
                             
                    
                        
                            
                            
                                字典是Python里唯一的映射类型。字典是可变的、无序的、大小可变的键值映射,有时候也称为散列表或关联数组。例子在下面:dic = {"apple":2, "orange":1} #定义一个字典>>> dic.copy() #复制字典{'orange': 1, 'apple': 2}>>> dic....
                            
                            
                                分类:
编程语言   时间:
2015-05-23 09:57:57   
                                阅读次数:
120
                             
                    
                        
                            
                            
                                http://acm.hdu.edu.cn/showproblem.php?pid=4571
Problem Description
  Bob gets tired of playing games, leaves Alice, and travels to Changsha alone. Yuelu Mountain, Orange Island, Window of...
                            
                            
                                分类:
其他好文   时间:
2015-05-21 19:35:46   
                                阅读次数:
147
                             
                    
                        
                            
                            
                                题目:
Garth likes apples and oranges. Recently he bought N fruits, where each fruit was either an apple or an orange. Then he ate all
N fruits in some order. You are given an int K. Garth obse...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 14:54:13   
                                阅读次数:
182
                             
                    
                        
                            
                            
                                (转)http://tec.5lulu.com/detail/104krn1e6p2w78d77.html现有一段字符串,如apple,banana,orange,pears,grape,要把它按照逗号(,)分割成: applebananaorangepearsgrape 然后使用where ...
                            
                            
                                分类:
数据库   时间:
2015-05-18 14:24:10   
                                阅读次数:
172
                             
                    
                        
                            
                            
                                package Lesson15_generices;
//: generics/CovariantArrays.java
class Fruit {}
class Apple extends Fruit {}
class Jonathan extends Apple {}
class Orange extends Fruit {}
public class CovariantArrays ...
                            
                            
                                分类:
编程语言   时间:
2015-05-18 08:59:16   
                                阅读次数:
241
                             
                    
                        
                            
                            
                                C++的enum工具提供了另一种创建符号常量的方式,这种方式可以代替const。它还允许定义新类型,但必须按严格的限制进行。使用enum的句法与使用结构相似。enum spectrum{red,orange,yellow,green,blue,violet,indigo,ultraviolet}.....
                            
                            
                                分类:
编程语言   时间:
2015-05-12 12:58:49   
                                阅读次数:
136
                             
                    
                        
                            
                            
                                new.css/*选择器分组*/h1,h2,h3{ color: orange; font-size: 21px;}h1{/* 如果值大于1个单词,需要加上引号*//* 属性大于1个之后,属性之间用分号隔开*/ font-size: 14px; color: red...
                            
                            
                                分类:
Web程序   时间:
2015-05-11 12:53:57   
                                阅读次数:
142
                             
                    
                        
                            
                            
                                觉得这个效果不错,就随便写了一下。 
效果:http://output.jsbin.com/gerogawiqi/1 
思路很简单,添加一个空伪元素,然后进行边框设置,实现折叠的效果。不过看起来还是很好看的。css部分:.tianzi{
        width:300px;
        height: 300px;
        background: orange;
        po...
                            
                            
                                分类:
Web程序   时间:
2015-05-11 09:11:01   
                                阅读次数:
376