下面是自定义Activity半透明的效果例子:res/values/styles.xml
res/values/color.xml #50000000注意:color.xml的#5000000前两位是透明的效果参数从00 到
ff(透明--不么透明),后6位是颜色的设置manifest.xmljav...
分类:
移动开发 时间:
2014-05-27 00:43:37
阅读次数:
340
题目描述:The gray code is a binary numeral system
where two successive values differ in only one bit.Given a non-negative
integernrepresenting the total n...
分类:
其他好文 时间:
2014-05-26 21:30:04
阅读次数:
296
总共分为4个部分:string值,Layout布局设计,MainActivity代码编写,给项目添加使用授权。1. string值
Phone-->res-->values-->strings.xml,代码如下: 手机拨号器 Hello world! Settings
请输...
分类:
移动开发 时间:
2014-05-24 00:49:54
阅读次数:
508
What is Build Profile?ABuild profileis a set of
configuration values which can be used to set or override default values of
Maven build. Using a build...
分类:
其他好文 时间:
2014-05-23 12:13:49
阅读次数:
426
--创建表
createtable JOBTEST (
IDVARCHAR2(50)
primarykey,
NAMEVARCHAR2(20),
AGE NUMBER(3) )
--创建存储过程
createorreplaceprocedure
jobtestprocedure
isbegin
insertinto jobtest
values(to_char(s...
分类:
数据库 时间:
2014-05-22 18:52:39
阅读次数:
359
1 For循环
语法:begin
for i in reverse 1..10 loop
insert into users values(i,’奥巴马‘);
end loop;
end;
注意:循环变量 i 是隐含增加的,所以无法看到
2 goto语句...
分类:
数据库 时间:
2014-05-22 12:12:34
阅读次数:
335
问题
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorde...
分类:
其他好文 时间:
2014-05-22 07:04:46
阅读次数:
298
Find paths whose node values equal to N in binary
tree.
分类:
其他好文 时间:
2014-05-22 05:13:14
阅读次数:
280
选择一个map进行软件基础数据初始化操作,要求第一次初始化后,不修改数据,可能会出现静态类被回收,然后在进行初始化操作?1.Map :接口/** * A
{@code Map} is a data structure consisting of a set of keys and values * ...
分类:
移动开发 时间:
2014-05-22 02:26:20
阅读次数:
413
Subset
Time Limit: 30000MS
Memory Limit: 65536K
Total Submissions: 1562
Accepted: 261
Description
Given a list of N integers with absolute values no larger than 1015,...
分类:
其他好文 时间:
2014-05-21 07:16:37
阅读次数:
409