我需要一个 透明的actionbar ,找到如下方法实现:1. 首先,设置ActionBar 浮动到主界面上来。2. 然后,设置ActionBar的背景色,透明或者半透明。那么如何实现这两步呢?第一步:代码实现: 在oncreate中:getWindow().requestFeature(Windo...
分类:
移动开发 时间:
2014-09-03 16:19:46
阅读次数:
259
AnimationSet提供了一个把多个动画组合成一个组合的机制,并可设置组中动画的时序关系,如同时播放,顺序播放等。 以下例子同时应用5个动画:播放anim1;同时播放anim2,anim3,anim4;播放anim5。AnimatorSet bouncer = new AnimatorSet.....
分类:
移动开发 时间:
2014-09-03 12:42:06
阅读次数:
351
Unity版本:4.5.1 NGUI版本:3.6.5 参考链接:http://blog.csdn.net/unity3d_xyz/article/details/23035521,作者:CSDN inspironx 在Unity中可以用Animation实现控件位置的转换,大小的变化等等,即...
分类:
其他好文 时间:
2014-09-03 11:10:46
阅读次数:
246
[animation setAutoreverses:NO]; animation.removedOnCompletion = NO; animation.fillMode = kCAFillModeForwards;
分类:
其他好文 时间:
2014-09-02 19:48:15
阅读次数:
225
注:需要导入v4包
private MenuItem refreshItem;
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.action_refresh:...
分类:
其他好文 时间:
2014-09-02 17:50:55
阅读次数:
190
TranslateAnimation类是Android系统中的位置变化动画类,用于控制View对象的位置变化,该类继承于Animation类。TranslateAnimation类中的很多方法都与Animation类一致,该类中最常用的方法便是TranslateAnimation构造方法。
【基本语法】public TranslateAnimation (float fromXD...
分类:
其他好文 时间:
2014-09-02 17:46:35
阅读次数:
237
———————————————————— [我们是谁?] ————————————————————[哔哩哔哩弹幕网] -简称 ["bilibili"][bilibili] 是一家以ACG(Animation、Comic、Game)为主题的娱乐站点。[bilibili] 目前有动画、音乐、游戏、娱乐、...
分类:
移动开发 时间:
2014-09-02 17:28:54
阅读次数:
216
/*map */div.location { width: 300px; height: 200px; border: 1px #f45 solid; background: #000; margin: 10px auto 0; }div.location-indicator { position....
分类:
Web程序 时间:
2014-09-02 00:11:43
阅读次数:
245
/* --- name: Fx description: Contains the basic animation logic to be extended by all other Fx Classes. license: MIT-style license. req...
分类:
其他好文 时间:
2014-09-01 15:28:53
阅读次数:
223
-webkit-animation:仍旧是一个复合属性,-webkit-animation: name duration timing-function delay iteration_count direction;包括以下几个属性(1) -webkit-animation-name 这个属性的....
分类:
Web程序 时间:
2014-09-01 15:23:33
阅读次数:
366