[android-developers] App not working on phone

2012-06-14 Thread Shekhar
Guys I made an application , the app is working correctly on my emulator 
all the xml files have been to screen size 3.7 inch.Now when I tried 
running the app on an actual device, with smaller screen size, the full 
layout was not getting displayed,Can anyone tell me as how can I make my 
app run on devices with varying screen sizes?

-- 
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

Re: [android-developers] App not working on phone

2012-06-14 Thread David Olsson
Use dps for sizes or weights, use the different folders at your disposal.
Read through:
http://developer.android.com/guide/practices/screens_support.html

On Wed, Jun 13, 2012 at 8:52 PM, Shekhar codeandroi...@gmail.com wrote:

 Guys I made an application , the app is working correctly on my emulator
 all the xml files have been to screen size 3.7 inch.Now when I tried
 running the app on an actual device, with smaller screen size, the full
 layout was not getting displayed,Can anyone tell me as how can I make my
 app run on devices with varying screen sizes?

 --
 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

-- 
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

Re: [android-developers] App not working on phone

2012-06-14 Thread Saurav
Hi Shekhar,

The above link should get you started!
My suggestion is, not to use absolute values, place your components based
on calculations. Extract the window height and breadth, and place all your
components.



Regards,
Saurav Mukherjee.


On Thu, Jun 14, 2012 at 6:44 PM, David Olsson zooklu...@gmail.com wrote:

 Use dps for sizes or weights, use the different folders at your disposal.
 Read through:
 http://developer.android.com/guide/practices/screens_support.html


 On Wed, Jun 13, 2012 at 8:52 PM, Shekhar codeandroi...@gmail.com wrote:

 Guys I made an application , the app is working correctly on my emulator
 all the xml files have been to screen size 3.7 inch.Now when I tried
 running the app on an actual device, with smaller screen size, the full
 layout was not getting displayed,Can anyone tell me as how can I make my
 app run on devices with varying screen sizes?

 --
 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


  --
 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


-- 
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