`

屏幕亮度

阅读更多

private void SetBright(float light)
{
WindowManager.LayoutParams lp=getWindow().getAttributes();
lp.screenBrightness=light;
getWindow().setAttributes(lp);

}

//light 范围 0.0f~~1f

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics