摘要:
webview中右下角的缩放按钮能不能去掉settings.setDisplayZoomControls(false);//隐藏webview缩放按钮让Webview加载的页面居中显示有我知道的几种方法第一种方法:WebSettings settings = webView.getSettings(... 阅读全文
2014年8月12日
摘要:
当手机设定了使用横屏或者竖屏的时候,还想要使用重力感应,可以设置activity属性android:screenOrientation="sensor"但是每次翻转屏幕,都会重新调用oncreate,要想不重新加载程序的话,需要使用如下设置android:configChanges="orienta... 阅读全文