Supporting multiple screen sizes in android?

Up vote 2 down vote favorite share g+ share fb share tw.

Hi I'm new to android world. Iam working on an application that supports multiple screen sizes I did as explained here developer.android.com/guide/practices/sc... . I didn't create different xmls for each screen size.

But when I tested it on android 3 emulator it appears in small part of the screen. So I think that the size specified for my application on the emulator is small so my widgets are not filling the whole screen as I want. Can I control that size of my application on the emulator?

Android screen-size link|improve this question edited Jun 4 '11 at 22:20inazaruk16k32038 asked Jun 4 '11 at 21:31FAFI46210 64% accept rate.

1 You should add screenshots. You don't have permissions to put screenshots here, so upload them somewhere and add links here. – inazaruk Jun 4 '11 at 21:47 that is the snapshot img684.imageshack.us/img684/322/and3.jpg – FAFI Jun 4 '11 at 21:59 Inserted screenshot into question.

– inazaruk Jun 4 '11 at 22:25 hi , try to work with DP and not pixels – Houcine Jun 4 '11 at 22:31 @inazaruk thanks alot for adding the pic :). @Houcine I've worked with DP not pixels but I didn't support minsdkversion=4 or higher as mentioned here stackoverflow.com/questions/5521233/…. But when I did IT worked soooooooooooooooooooooooo well :).

Thanks for trying to help me guys. I really appreciate that :). – FAFI Jun 4 '11 at 22:43.

You r THE GREATEST. I don't know how to thank you sir :). Thanks alot – FAFI Jun 4 '11 at 22:30 I really tried but a box appears indicating that voting up needs 15 reputations :) I have only 1 :).

So I can do nothing except thanking you :). – FAFI Jun 4 '11 at 22:48 @FAFI please see this: meta.stackoverflow.com/questions/16721/… – Aleadam Jun 5 '11 at 1:08 @Aleadam Thanks :) – FAFI Jun 5 '11 at 8:12.

Also, to avoid compatibility mode when running on Honeycomb, set targetSdkVersion to 11 or higher (as described at geekyouup.blogspot.com/2011/05/supportin...).

Thank you sir. I appreciate that :) – FAFI Jun 4 '11 at 22:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions