随笔分类 -  Android实例

摘要:textView.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));//加粗 textView.getPaint().setFakeBoldText(true);//加粗 阅读全文
posted @ 2016-02-23 15:36 V青山绿水 阅读(9002) 评论(0) 推荐(0) 编辑
摘要:tv.getPaint().setFlags( Paint.STRIKE_THRU_TEXT_FLAG); 阅读全文
posted @ 2015-09-06 17:16 V青山绿水 阅读(202) 评论(0) 推荐(0) 编辑
摘要:// String picurl = article.cateLogo;// ImageLoader.getInstance().displayImage(picurl, holder.cate_Logo_IV,// ImageLoaderOptions.optionsNormal()); ... 阅读全文
posted @ 2015-08-27 09:47 V青山绿水 阅读(303) 评论(0) 推荐(0) 编辑
摘要:Intent intent = new Intent(); intent.setAction("cn.abel.action.broadcast"); intent.putExtra("trainingID", article.trainingID); // 发送 一个无序广播 ... 阅读全文
posted @ 2015-08-26 16:22 V青山绿水 阅读(197) 评论(0) 推荐(0) 编辑
摘要:Intent intent = new Intent(CardInfoActivity.this, CardRechargeListActivity.class); intent.putExtra("action", "consumption"); intent.putExtra("car... 阅读全文
posted @ 2015-08-26 15:59 V青山绿水 阅读(177) 评论(0) 推荐(0) 编辑
摘要:GetString url = CommonInterfaceUrl.COMM_GetWorksDetailUrl + "/" + worksID; RequestQueue mQueue = Volley.newRequestQueue(MyApplication.mInstance .g... 阅读全文
posted @ 2015-08-19 11:25 V青山绿水 阅读(282) 评论(0) 推荐(0) 编辑
摘要:LinearLayout.LayoutParamslinearParams=(LinearLayout.LayoutParams)textView.getLayoutParams();//取控件textView当前的布局参数 linearParams.height=20;//控件的高强制设成20 l... 阅读全文
posted @ 2015-08-19 10:00 V青山绿水 阅读(75844) 评论(1) 推荐(2) 编辑

点击右上角即可分享
微信分享提示