最近APP的progress的加载效果要修改,要做仿IOS的颜色渐变的效果,一开始做了12张依次旋转的图放到animation-list来实现帧动画,实现后效果不是很流畅。后来想到把一张loading图放到ImageView里,然后ImageView再启动旋转的动画,实现后效果很不错,anim文件:
<rotate
android:fromDegrees=...
分类:
其他好文 时间:
2014-12-05 00:49:36
阅读次数:
215
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41728739
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.
思路:
(1...
分类:
其他好文 时间:
2014-12-04 21:44:57
阅读次数:
185
1 主通道协议定义1.1服务器—》客户端enum {
SPICE_MSG_MAIN_MIGRATE_BEGIN = 101,
SPICE_MSG_MAIN_MIGRATE_CANCEL,
SPICE_MSG_MAIN_INIT,
SPICE_MSG_MAIN_CHANNELS_LIST,
SPICE_MSG_MAIN_MOUSE_MODE,
SPI...
分类:
其他好文 时间:
2014-12-04 21:42:28
阅读次数:
266
package xml;
import java.io.IOException;
import java.io.StringReader;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.dom4j.DocumentException;
public class Test {
...
分类:
编程语言 时间:
2014-12-04 20:01:50
阅读次数:
276
Partition List Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should...
分类:
其他好文 时间:
2014-12-04 19:57:46
阅读次数:
204
有id、标题、内容、创建时间有创建时间、标题、(分页)(分页)={$page}= $count = $Form->count(); //计算总数 $Page = new Page($count, 5); $list = $Form->limit($Page->...
分类:
Web程序 时间:
2014-12-04 19:57:04
阅读次数:
245
【转自】BAPI WGComponentFunction module nameDescriptionDescriptionObj. TypeObject nameMethod nameReleaseMessage type1RWTRBAPI_SECURITYPRICE_GETDETAILSecur...
#!/usr/bin/perl
usestrict;
usewarnings;
useLWP::UserAgent;
useJSON;
useEncode;
my$mail=‘user‘;
my$pass=‘pass‘;
my$domain_info_url=‘https://dnsapi.cn/Domain.Info‘;
my$record_list_url=‘https://dnsapi.cn/Record.List‘;
subget_domain_id{
###获取数据
my($doma..
真是个马大哈呀
问题如下:
No system images installed for this target " title="解决CPU/ABI No system images installed for this target " style="margin:0px; padding:0px; border:0px; list-style:none">
1、在Tools...
分类:
移动开发 时间:
2014-12-04 18:02:20
阅读次数:
664
BattleShip,这两个是新接触到的1)生成a,b之间的随机数:1 from random import randint2 randint(a,b)2)去掉list中的引号和逗号1 def print_board(board):2 for row in board:3 p...
分类:
编程语言 时间:
2014-12-04 17:41:47
阅读次数:
212