2014年8月12日

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