摘要:
解决方法 :使用radioBotton.setChecked()方法来解决 参考:https://www.jianshu.com/p/f69cd82cd85a 阅读全文
摘要:
imageview.setColorFilter(Color.parseColor("#60000000"), PorterDuff.Mode.SRC_ATOP);参考https://blog.51cto.com/u_12468355/3387539 阅读全文
摘要:
在edittex里设置android:imeOptions="actionSend"android:inputType="text"设置deittext多行显示editText.setSingleLine(false); editText.setMaxLines(4)参考https://blog.5 阅读全文
摘要:
解决办法: 不要使用getSupportFragmentManager() 如果是在Activity中嵌套Fragment上面的这个写法是正确的,但是如果是在Fragment中嵌套Fragment的话,如果按照上面这样写的话,在切换Fragment的时候Fragment不显示。 把适配器改为 Fra 阅读全文
摘要:
listview显示不全 需要重写listview public class MyListView extends ListView { public MyListView(Context context, AttributeSet attrs) { super(context, attrs); } 阅读全文
摘要:
npm install sass 阅读全文
摘要:
小白,return后面的{ 不能换行 return{ msg:"111" } 误写为 return { msg:"111" } 阅读全文
摘要:
点击自定义控件弹窗addAuthRegisterXmlConfig方法里面onclick回调 移除view ((ViewGroup) v.getRootView()).removeView();注意移除的是自定义layout里面的根目录(如RelativeLayout) 阅读全文
摘要:
解决办法 Window window =dialog.getWindow();// window.setGravity(Gravity.CENTER); WindowManager.LayoutParams layoutParams = window.getAttributes(); layoutP 阅读全文
摘要:
使用 ToolBox 下载地址https://www.jetbrains.com/toolbox-app/ 参考:https://blog.csdn.net/qq_29752857/article/details/107052986 阅读全文