上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页

2015年11月20日

(转)Android如何编程设置APP安装位置(外部存储或内部存储)?

摘要: Beginning with API Level 8, you can allow your application to be installed on the external storage (for example, the device's SD card). This is an opt... 阅读全文

posted @ 2015-11-20 13:49 Z2 阅读(501) 评论(0) 推荐(0)

怎样使android的view动画循环弹动

摘要: 在res中建立文件夹anim,分别写下cycles.xml,shake1.xml,shake2.xmlcycles.xml:1 2 3 shake1.xml: 1 2 3 4 5 6 shake2.xml: 1 2 3 4 5 6 activity_main.xml: 1 6 ... 阅读全文

posted @ 2015-11-20 01:36 Z2 阅读(602) 评论(0) 推荐(1)

QQ消息99+形成--第三方开源--BezierView

摘要: Android第三方开源的BezierView实现了上述QQ的99+条未读消息气泡显示。Android开源BezierView在github上的项目主页是:https://github.com/chenupt/BezierDemo使用Android BezierView只需要写一个布局即可:acti... 阅读全文

posted @ 2015-11-20 00:28 Z2 阅读(780) 评论(0) 推荐(2)

2015年11月19日

自定义Toast的显示效果

摘要: Activity: 1 package com.example.editortoast; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.view.Gravity; 6 import and... 阅读全文

posted @ 2015-11-19 23:43 Z2 阅读(870) 评论(0) 推荐(2)

(转载)实现QQ侧滑边栏

摘要: Android ViewDragHelper实现QQ侧滑边栏移动手机版的QQ的左边侧栏,有一个特殊的交互设计效果:当用户手指向右或向左滑动时,QQ的左边会弹出或收缩一个侧滑的边栏。这种效果简单的做法可以使用Android提供的NavigationView,Draw... 阅读全文

posted @ 2015-11-19 22:15 Z2 阅读(624) 评论(0) 推荐(0)

图片加载与缓存利器(自动缓存)--第三方开源-- Glide

摘要: Android Glide使用便利,短短几行简单明晰的代码,即可完成大多数图片从网络(或者本地)加载、显示的功能需求。使用Android Glide,需要先下载Android Glide的库,Android Glide在github上的项目主页:https://github.com/bumptech... 阅读全文

posted @ 2015-11-19 17:25 Z2 阅读(1514) 评论(0) 推荐(1)

多层级Spinner列表选项实时更新树形层级(选择城市)

摘要: 1 package com.example.spinnerdemo; 2 3 import android.os.Bundle; 4 import android.app.Activity; 5 import android.view.View; 6 import android.w... 阅读全文

posted @ 2015-11-19 10:02 Z2 阅读(553) 评论(0) 推荐(0)

2015年11月18日

android任意view爆炸效果--第三方开源--ExplosionField

摘要: 犹如天女散花一样,爆炸散列,比较有趣。Android ExplosionField在github上的项目主页是:https://github.com/tyrantgit/ExplosionField注意:jdk1.7 1 package com.zzw.textexplosionfield; 2 ... 阅读全文

posted @ 2015-11-18 23:38 Z2 阅读(3121) 评论(8) 推荐(4)

TextView字符串波浪式跳动--第三方开源---JumpingBeans

摘要: 在github上有一个开源项目:JumpingBeans,其项目主页是:https://github.com/frakbot/JumpingBeansJumpingBeans将一个普通的Android TextView中显示的字符串可以做到波浪式跳动。JumpingBeans使用起来简单,仅仅在An... 阅读全文

posted @ 2015-11-18 18:20 Z2 阅读(969) 评论(0) 推荐(0)

简单Spinner

摘要: mainActivity 1 package com.zzw.spinner; 2 3 import android.app.Activity; 4 import android.content.Context; 5 import android.os.Bundle; 6 import... 阅读全文

posted @ 2015-11-18 18:15 Z2 阅读(175) 评论(0) 推荐(0)

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页

导航