摘要:
表单提交内容为:POST /upload.php?zp_id=ab46ca6d703e3a1580c1c9b8b3a8fb39 HTTP/1.1Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-ms-appl... 阅读全文
摘要:
1 import android.animation.Animator; 2 import android.animation.Animator.AnimatorListener; 3 import android.animation.TypeEvaluator; 4 import and... 阅读全文
摘要:
1:getChildAt释疑: getChildAt(int index)得到的是当前ListView可见项的item,index为可见项的索引;getChildCount返回的是ListView当前屏幕下可见项的数目 getChildAt中index的大小并非为ListView的Adapter中的... 阅读全文
摘要:
在开发过程中有时候需要实现TextView部分文字的点击效果,实现该功能可以自定义文本控件,也可以用android源生api实现1、SpannableString是CharSequence接口的实现类,同时它也实现了Spannable接口; ①SpannableString通过setSpan方法可以设置TextView文本的各种样式,包括文本中插入图片(ImageSpan),前景色(ForegroundColorSpan),背景色(BackgroundColorSpan)等 ②SpanableString也可以通过设置ClickableSpan设置某一些文字可以被点击 ③复写Clicka... 阅读全文