2016年11月14日

layer.open的加载层被遮挡了,怎么处理

摘要: 阅读全文

posted @ 2016-11-14 09:54 android错误 阅读(554) 评论(0) 推荐(0)

2016年9月27日

spinner 文字居中

摘要: 在layout中设置为android:gravity="center" 不起作用 需要在setOnItemSelectedListener onItemSelected方法中TextView tv = (TextView) arg1; (arg1为view) tv.setGravity(androi 阅读全文

posted @ 2016-09-27 08:59 android错误 阅读(1102) 评论(0) 推荐(0)

2016年9月2日

The constructor ArrayAdapter<Source>(TestFragment, int, List<Source>) is undefined

摘要: The constructor ArrayAdapter<Source>(this, int, List<Source>) is undefined 原因有内部类不能用this,、 解决办法this改直接引用 activity 阅读全文

posted @ 2016-09-02 10:03 android错误 阅读(126) 评论(0) 推荐(0)

2016年8月31日

IllegalStateException: Can not perform this action after onSaveInstanceState 错误解决方法

摘要: 使用handler 更新主activity中的碎片fragment是在使用FragmentTransition的 commit方法添加一个Fragment的时候报IllegalStateException: Can not perform this action after onSaveInstan 阅读全文

posted @ 2016-08-31 14:56 android错误 阅读(1286) 评论(0) 推荐(1)

导航