Shachar, Thanks,

Yes, drawable-120dpi has high priority than drawable-320x240.
In my case, I want to use drawable-320x240 instead of
drawable(selected which is not expected) and drawable-120dpi(In my
case, I not create this folder)

I think drawable-320x240 should have high priority than drawable in
some precondition.
If it is true what is the precondition?

Thanks,
gan




On Sep 8, 11:52 pm, Shachar Shemesh <[email protected]> wrote:
> gan wrote:
> > Hi,
>
> > When I create a 120dpi emulator, it is found the the resource in
> > 320x240(for example drawable-320x240) folder can't be read.
>
> > I read the document
> >http://developer.android.com/intl/zh-CN/guide/topics/resources/resour...
>
> > Screen pixel density
> > Screen dimensions
> > are different.
>
> > If ro.sf.lcd_density=120 decide the resource in drawable-120dpi folder
> > been used,
> > Which factor let drawable-320x240 folder be used.
>
> If you have both density=120 AND dimensions=320x240 resources, only one
> of them will be used. If you look at the table at the link you point to,
> you will see that pixel density is listed fourth, while dimensions is
> listed ninth. This means that if your configuration matches both a
> density folder and a dimensions folder, it is the density folder that
> will be used.
>
> What you should do about it really depends on what you are trying to do.
> One of your options is to create a drawable-120dpi-320x240 directory.
> This may or may not apply to your case, depending on what your final aim is.
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.http://www.lingnu.com
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to