屏幕背景图像看起来不同于iPhone屏幕在android不到2.3?
问题描述:
屏幕布局:父主背景图像和另一个图像作为表格图像是孩子。表格图像为3行和半透明图像。屏幕背景图像看起来不同于iPhone屏幕在android不到2.3?
当我在iphone中使用相同的图像,然后看起来很完美。看截图。
但是,当我在Android中使用相同的两个图像小于2.2的表和背景图像看起来不同,那么透明的图片请查看此链接...
http://screencast.com/t/T61v8Wf0MQ
这里我的布局屏幕代码...
<RelativeLayout android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/main" >
<RelativeLayout
android:id="@+id/relativeLayout4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/table" >
</RelativeLayout>
</RelativeLayout>
我也用imageview或其他布局,但相同的效果等颜色看起来没有改善。
我的问题是在android和iphone屏幕上看起来都不一样的颜色,即使我使用了相同的图像。
任何人都可以告诉我哪个参数设置如此看起来像iPhone屏幕相同的颜色?
答
经过研究finaly我找到解决办法..
How to add a PNG image as background in Android with no alteration (banding)?
工作更好地较早.....
也许安卓重力= “中心”,或relativeLayout1 “center_vertical” – mihail
iPhone和Android手机上的光晕有不同的颜色配置文件,所以相同的图像看起来不同,我认为。 – jamapag