05 2017 档案

摘要:package code.suibianchou.com.custormview2;import android.annotation.SuppressLint;import android.content.Context;import android.graphics.Rect;import an 阅读全文
posted @ 2017-05-18 12:35 xiao_pengs 阅读(341) 评论(0) 推荐(0)
摘要:public class CustomViewPager extends ViewPager{ /**** * 防止ViewPage滑动 */ private boolean isCanScroll = false; //设置ViewPage是否可滑动 public CustomViewPager( 阅读全文
posted @ 2017-05-04 12:06 xiao_pengs 阅读(363) 评论(0) 推荐(0)
摘要:public class TimeCount extends CountDownTimer { private static final int TIME_TASCK = 1000; private Button button; private Context context; public Tim 阅读全文
posted @ 2017-05-04 11:58 xiao_pengs 阅读(1678) 评论(0) 推荐(0)
摘要:public static void settingDrawableTop(Context context, TextView view , int resourcesDrawable, int resourcesString){ view.setVisibility(View.VISIBLE); 阅读全文
posted @ 2017-05-04 11:53 xiao_pengs 阅读(1475) 评论(0) 推荐(0)
摘要:/** * 设置字符串中的数字显示红色 * @param str */public static void setNumberTextColor(String str,TextView textView,Context c,int resourcesID){ char[] s = str.toCha 阅读全文
posted @ 2017-05-04 11:50 xiao_pengs 阅读(1369) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/u014231734/article/details/41913775 原地址 阅读全文
posted @ 2017-05-04 11:47 xiao_pengs 阅读(116) 评论(0) 推荐(0)