
Windows
安卓Guan
这个作者很懒,什么都没留下…
展开
-
Dialog弹出后让下面的VIEW也能点击,以及返回键事件
1. Window window = getWindow(); WindowManager.LayoutParams attributesParams = window.getAttributes();// WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 失去焦点,从而下一层VIEW获得焦点 attr原创 2016-07-18 15:09:11 · 2784 阅读 · 2 评论 -
应用启动黑屏处理
@Override protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { super.onApplyThemeResource(theme, R.style.AppBaseTheme1, first); }此方法会比onCreate方法先原创 2016-12-09 22:32:31 · 373 阅读 · 0 评论