项目:今日头条
项目:今日头条
09.05
完成WebView中亮度调节的seekBar
自定义背景
设置分段值,使得只有固定的大小
解决了界面不显示的问题
使用4.0以后的反射函数设置了WebView的夜间模式
try { Class clsWebSettingsClassic = getClassLoader().loadClass( "android.webkit.WebSettingsClassic"); Method md = clsWebSettingsClassic.getMethod("setProperty", String.class, String.class); md.invoke(mWebView.getSettings(), "inverted", "true"); md.invoke(mWebView.getSettings(), "inverted_contrast", "1"); } catch (Exception e) { }
9.10
退出程序时恢复亮度
设置界面布局、清除缓存功能
10.01
解决界面动画bug
转载于:https://blog.51cto.com/jensen/1718690