自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(4)
  • 收藏
  • 关注

转载 android post方式上传文件(模拟表单格式数据提交)

表单提交内容为: POST /upload.php?zp_id=ab46ca6d703e3a1580c1c9b8b3a8fb39 HTTP/1.1Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application...

2014-07-03 14:35:00 562

转载 ListView下拉刷新实现(类似陌陌的箭头转动)

1 import android.animation.Animator; 2 import android.animation.Animator.AnimatorListener; 3 import android.animation.TypeEvaluator; 4 import android.animation.ValueAnimator; ...

2014-06-10 17:10:00 202

转载 Listview getChildAt方法返回null以及精确判断滚动到底部

1:getChildAt释疑: getChildAt(int index)得到的是当前ListView可见项的item,index为可见项的索引; getChildCount返回的是ListView当前屏幕下可见项的数目  getChildAt中index的大小并非为ListView的Adapter中的index,而是0~getChildCount()之间的值,否则返回为n...

2014-06-09 13:16:00 137

转载 TextView中实现部分文字点击

在开发过程中有时候需要实现TextView部分文字的点击效果,实现该功能可以自定义文本控件,也可以用android源生api实现 1、SpannableString是CharSequence接口的实现类,同时它也实现了Spannable接口;   ①SpannableString通过setSpan方法可以设置TextView文本的各种样式,包括文本中插入图片(ImageSpan),前...

2014-03-27 12:06:00 195

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除