摘要: String regEx="[^0-9]";Pattern p = Pattern.compile(regEx);Matcher m = p.matcher(etCoustom.getText().toString()); String trim = m.replaceAll("").trim(); 阅读全文
posted @ 2015-09-17 16:19 百晓生 阅读(725) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * android5.0以上版本的状态栏透明 3 */ 4 void translateStatusOnAndroid5(){ 5 if (Build.VERSION.SDK_INT >= 21) { 6 Win... 阅读全文
posted @ 2015-09-17 13:42 百晓生 阅读(187) 评论(0) 推荐(0) 编辑