图片适应webview控件
2013-10-28 16:44
281 查看
contentWeb = (WebView) findViewById(R.id.notice_content_content);
WebSettings webSettings= contentWeb.getSettings(); // webView: 类WebView的实例 webSettings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); //就是这句
WebSettings webSettings= contentWeb.getSettings(); // webView: 类WebView的实例 webSettings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); //就是这句
相关文章推荐
- android 功能代码---WakeLock使Android应用程序保持后台唤醒 .
- Android中init.rc文件的解析
- Android 判断是否有外置SD卡(包含手机存储的情况下)
- web API 错误处理The 'ObjectContent`1' type failed to serialize
- iOS 打开设备相册
- iOS开发篇——OC延展类目协议介绍
- 浅谈android的selector背景选择器
- 深入浅出 - Android系统移植与平台开发(九)- JNI介绍
- android wifi讲解 wifi列表显示
- 64位ubuntu12.04编译android版webrtc
- android 功能代码----(AlarmManager保证后台服务长时间在后台运行)
- Android应用崩溃后异常捕获并重启
- 新浪微博 webview认证弹出来一闪而过问题解决 ios7下
- iOS7适配之——隐藏状态栏
- Android 创建,验证和删除桌面快捷方式 (删除快捷方式测试可用)
- android手机测试中如何查看内存泄露
- Android第二个签名漏洞#9695860(The Second Master Key)的手动构造利用
- Android Camera 运行流程
- Android系统Recovery工作原理之使用update.zip升级过程分析(四)---Android系统Recovery模式的工作原理
- Android系统Recovery工作原理之使用update.zip升级过程分析(三)---Android系统的三种启动模式