[英]How to fix image height and width in webview for android
I am developing image application,i am using WebView
to display image, so I want to fix some height and width size for the image, this size applicable for all kind of size of images in WebView. 我正在开发图像应用程序,我正在使用
WebView
来显示图像,所以我想为图像固定一些高度和宽度大小,此大小适用于WebView中所有类型的图像。
Any sample code is welcome, 欢迎任何示例代码,
Thanks All 谢谢大家
如果要将图像添加为img src,则以下是经典的synthax:
<img src="yourimage.png" width=480 height=800 alt="your image"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.