(480×800)WVGA854(为480x854),华电国际如何WVGA800区分(240dpi) [英] How to differentiate between WVGA800 (480x800) WVGA854 (480x854) hdpi (240dpi)

查看:180
本文介绍了(480×800)WVGA854(为480x854),华电国际如何WVGA800区分(240dpi)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个设备WVGA800(HTC Desire的)及WVGA854(模拟器)240hdpi。
我需要在每台设备上不同尺度图像但每次花费相同的布局。

I have two devices WVGA800(htc desire) & WVGA854(emulator) 240hdpi . I need to scale image differently on each device but each time it takes the same layout.

我的文件夹布局是为下:

My folder layout is as under:

layout-normal-long-hdpi
layout-normal-notlong-hdpi

但都需要正常长的布局,
不明白这是为什么,我甚至尝试的正常长的土地华电国际的但没有奏效。

推荐答案

林pretty确保属于同一类别。你可能想真正得到屏幕像素的高度,并采取相应的行动。

Im pretty sure the fall into the same category. you may want to actually get screen pixel height and act accordingly.

http://developer.android.com/guide/practices/screens_support.html

这篇关于(480×800)WVGA854(为480x854),华电国际如何WVGA800区分(240dpi)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆