OK, thanks for clarify it.
On Sep 9, 9:37 am, Dianne Hackborn <[email protected]> wrote:
> Please don't use the WxH configurations. They were a bad idea that should
> go away.
>
> Consider the screen sizes that we could soon be dealing with:
>
> 320x240 low density
> 400x240 low density
> 480x320 medium density
> 640x480 medium density
> 800x480 high density
> 800x480 medium density
> 852x480 high density
> 852x480 medium density
>
> And that is just the really common kinds of screens...
>
>
>
>
>
> On Tue, Sep 8, 2009 at 5:23 PM, gan <[email protected]> wrote:
>
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---