【发布时间】:2010-11-10 08:57:16
【问题描述】:
海友们, 我已经从 url 解析了图像,并显示在 webview 中,当我在 webview 中显示它时,一些图像被拉伸,所以我在 Imageview 的帮助下显示了图像,但问题是图像没有显示在Imageview 当它们的颜色格式是 CMYK 格式时,请告诉我如何在没有图像拉伸的情况下在 webview 中显示图像,或者如何在 ImageView 中显示所有格式的图像。
我的xml代码是
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout02_img"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<WebView android:id="@+id/ads_content"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</WebView>
</LinearLayout>
我的java代码是
私有 WebView ads_content; ads_content = (网络视图) findViewById(R.id.ads_content); ads_content.loadUrl(url);
请参阅显示我的输出的屏幕截图
我必须将图像显示到设备级别,泰语是为了阻止白色和黑色的空白区域 谢谢
【问题讨论】:
-
张贴一些截图也许我们可以提供帮助。
标签: android