2017年5月31日

//延迟两秒跳转 new handler().postDelayed

摘要: //延迟两秒跳转 new Handler().postDelayed(new Runnable() { @Override public void run() { Intent intent=new Intent(MainActivity.this, Leansons.class); startAc 阅读全文

posted @ 2017-05-31 18:01 yaolunhui 阅读(185) 评论(0) 推荐(0)

Bitmap转圆形图片Bitmap

摘要: private Bitmap toRoundBitmap(Bitmap bitmap) { //--Bitmap转圆形图片Bitmap int width = bitmap.getWidth(); int height = bitmap.getHeight(); float roundPx; flo 阅读全文

posted @ 2017-05-31 15:41 yaolunhui 阅读(218) 评论(0) 推荐(0)

//--合并两张图片 BITMAP

摘要: private Bitmap toConformBitmap(Bitmap background, Bitmap foreground) { //--合并两张图片 if( background == null ) { return null; } int bgWidth = background.g 阅读全文

posted @ 2017-05-31 15:41 yaolunhui 阅读(408) 评论(0) 推荐(0)

在代码中修改TextView的DrawableRight图片

摘要: <TextView android:id="@+id/textciew1" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#000" android:drawa 阅读全文

posted @ 2017-05-31 14:38 yaolunhui 阅读(613) 评论(0) 推荐(0)

导航