摘要:
override fun onCreateOptionsMenu(menu: Menu?): Boolean { menu?.add(Menu.NONE, 0, 0, "重新导入") return true } override fun onOptionsItemSelected(item: MenuItem?): Boolean { ... 阅读全文
摘要:
// 调整屏幕亮度 --> 把亮度调到最高 WindowManager.LayoutParams lp = getActivity().getWindow().getAttributes(); lp.screenBrightness = 255f * (1f / 255f); getActivity().getWindow().setAttribu... 阅读全文