翛然

Results 2 comments of 翛然

Android stuido 4可以使用MVPArms 插件,自己写的一个欢迎指导 [https://github.com/duoluo9/MVPArmsPlugin](https://github.com/duoluo9/MVPArmsPlugin)

FrameLayout content = dialogWindow.getDecorView().findViewById(R.id.content_container); FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) content.getLayoutParams(); layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT; //这一行可删除两边有间距 layoutParams.leftMargin = 0; layoutParams.rightMargin = 0; content.setLayoutParams(layoutParams);