摘要:
如下代码是否能被编译通过?private class Firework { private double weight = 0; private boolean compare(Firework work) { return weight == work.weight; ... 阅读全文
摘要:
public static Bitmap getCircleBitmap( Bitmap sourceBitmap) { if(null == sourceBitmap) { return null; } Bitmap output = Bitmap.createB... 阅读全文
摘要:
动态注册BroadcastReceiver时有时候会遇到这个异常:android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to register to receive ... 阅读全文
摘要:
如何设置list view中的item的高度呢?示例如下: //直接在这里设置高度是不会生效的。 按照如下修改: 另外,如何避免list view adapter反复getivew?list view在layout种设置时width/height 为match_parent. 或... 阅读全文