Ok I have determined half the problem

Although I was using 480x800(or 854), it still thought it was a normal
size screen with hdpi


So now im searching for how to detect dpi

Also a way for normal hdpi and large mdpi to use the same set of
resources, rather than having to duplicate directories


On Dec 7, 1:40 pm, Chopcsu <st...@kilsby.com.au> wrote:
> I am trying to detect if the screen size isnormal, large or small.
>
> I am using
>
> Configuration conf =view.getResources().getConfiguration();
>
> (conf.screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) ==
> Configuration.SCREENLAYOUT_SIZE_NORMAL
>
> When testing with the emulator this works for screen sizesnormaland
> small, but large (480x800 & 480x854)
> returns that it isnormal...
>
> I have found very little information on using the configuration to
> detect the group, has anyone got any experience with this?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to