有时候需要在actionbar?menu上显示消息个数,所以可以用BadgeView来实现。 实现方法是获取actionbar?menuitem的view,然后创建BadgeView。注意,通常只能在Optionsmenu创建完成之后去获取menuitem的view。我们可...
分类:
其他好文 时间:
2014-11-05 23:23:52
阅读次数:
734
1. ActionBar First added in Android 3.0(API level 11) 2. Working the Action Bar 2.1 Removing the action barActionBar actionBar = getSupportActionBa...
分类:
其他好文 时间:
2014-11-05 22:47:02
阅读次数:
280
1.constant+vowel
stand up
give up
get up
2.vowel+vowel
2.1 i:/i/ei/ai/oi [j]
stay up
carry it
2.2 u:/u/eu/au [w]
go on
how about
3.constant+constant
3.1 bus station
3.2 constant + h
I l...
分类:
其他好文 时间:
2014-11-05 21:33:01
阅读次数:
174
DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year ...
分类:
其他好文 时间:
2014-11-05 17:03:26
阅读次数:
150
DescriptionFarmer John'sN(1 ≤N≤ 10,000) cows are lined up to be milked in the evening. Each cow has a unique "grumpiness" level in the range 1...100,0...
分类:
其他好文 时间:
2014-11-05 16:53:49
阅读次数:
204
DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, ...
分类:
Web程序 时间:
2014-11-05 16:51:30
阅读次数:
193
1双击jmeter.bat2右键点击测试规划à添加àThreadsà线程组,此时在测试规划下边显露出来线程组选项。点击该选项,显露出来线程组界面。参变量线程数表达若干个烦请,参变量Ramp-Up
Period表达在多长时间内跑完全部的烦请,循环回数表达同一个烦请执行若干次。如果这三个参变量..
分类:
其他好文 时间:
2014-11-05 15:03:58
阅读次数:
165
核心: 自定义的View
Android 开发------------------ 修改 Actionbar 的样式
Java代码:
actionBar = getSupportActionBar();
ActionBar.Tab t = actionBar.getTabAt(i);
t.setCustomView(R.layout.tab_layout_1);
...
分类:
移动开发 时间:
2014-11-05 13:02:28
阅读次数:
171
16. (Fan-Hoffman) 设 $A\in M_n$, $A=UP$ 为极分解, $U$ 为酉矩阵, $P$ 为半正定矩阵. 若 $W\in M_n$ 为酉矩阵, 则 $$\bex \sen{A-U}\leq \sen{A-W}\leq \sen{A+U} \eex$$ 对任何酉不变范数成立...
分类:
其他好文 时间:
2014-11-05 12:58:41
阅读次数:
225
... 移动属性的设置 ,这种移动不仅仅局限于文字,也可以应用于图片,表格等等鼠标属性onMouseOut=this.start() ........鼠标移出状态滚动onMouseOver=this.stop() .........鼠标经过时停止滚动方向 #=left, right ,up ,do....
分类:
其他好文 时间:
2014-11-05 12:23:48
阅读次数:
243