- 博客(10)
- 资源 (12)
- 收藏
- 关注
转载 Bitmap Drawable bitByte[] 互相转换
(1)转换Bitmap to Drawable BitmapDrawable bitmapDrawable = (BitmapDrawable)bitmap; Drawable drawable = (Drawable)bitmapDrawable; Bitmap bitmap = new Bitmap (...); Drawable d
2012-02-29 14:29:16 768
转载 Android Canvas绘图抗锯齿解决方法
1)包含Paint参数情况时,对于drawText、drawBitmap这样的方法,一般最后一个参数为Paint对象,Paint对象一般用于设置笔刷颜色和大小,同时包含了抗锯齿的方法,比如说paint.setAntiAlias(true); 这个方法执行后即可有比较明显的改善。2)部分方法没有Paint参数,比如说setDrawFilter这个方法,它的参数只有PaintFlagsDra
2012-02-29 14:03:26 9350
转载 listview拖动时背景变黑
1)通过布局属性来设定(ListView的属性中直接定义)android:cacheColorHint=”#00000000″2)在代码中直接设定listView.setCacheColorHint(Color.TRANSPARENT);
2012-02-28 18:01:23 583
转载 solution about ADB server didn't ACK error
errors: daemon not running. starting it now ADB server didn't ACK failed to start daemon solution:1.查看任务管理器,关闭所有adb.exe 2.重启eclipse即可
2012-02-28 10:42:10 483
转载 利用半透明对话框实现新浪微博android客户端首次运行时的提示界面
首先,设置要覆盖在最上方的dialog的view[html] view plaincopyxml version="1.0" encoding="utf-8"?> RelativeLayout android:background="@drawable/navigater_bg" android:padding="0.0dip" a
2012-02-24 10:33:09 1259
转载 进制转换
[java] view plaincopy十进制转成十六进制: Integer.toHexString(int i) 十进制转成八进制 Integer.toOctalString(int i) 十进制转成二进制 Integer.toBinaryString(int i) 十六进制转成十进制
2012-02-24 10:19:15 590
转载 listview黑底解决方法
自定义listview的时候,当你不使用android:cacheColorHint=“#00000000”会出现下面选中一个空间黑色底色的情况,破坏整体美观度; 当你不使用android:listSelector属性,默认会显示选中的item为橙黄底色,有时候我们需要去掉这种效果 android:cacheColorHint="#00000000" android:listS
2012-02-24 10:12:48 877
转载 Dialog设置全屏
先设置一个style style name="Dialog_Fullscreen"> item name="android:windowFullscreen">trueitem> item name="android:windowNoTitle">trueitem> style>
2012-02-24 10:10:18 623
转载 adb shell dumpsys
Android has an interesting command called dumpsys to dump some system information. Even described on adb manual I think that some points should be reinforced. In order to get the complete status j
2012-02-24 10:02:48 6428
转载 简单的倒计时
public class CountdownTimerActivity extends Activity {private TimeCount time;private Button checking;@Overrideprotected void onCreate(Bundle savedInstanceState) {// TODO Auto-generated metho
2012-02-24 09:57:50 684
006.SecureCRT_7.0.0_x64
2018-08-01
005.TortoiseSVN-1.7.5.22551-x64
2018-08-01
004.araxis merge 2016(绿色版)
2018-08-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人