Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old December 21st, 2012, 01:37 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Location: Delhi
Gender: Male
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Multi-support screen problem?

I develop a app in Android 2.2, I want to run it on tablet with resolution 800X480 & extra large screen 1280X800, its running but images not fit on tablet? What can i do so that the images fit in tablet? I am putting my images in mdpi folder for device and HDPI for tablet with same name of images, but tablet not picking images from HDPI, Its picking from MDPI, showing small images on Tablet. I am new in this field, Help me or Any suggestion.
Thanks in Advance.

DealGali is offline  
Reply With Quote
sponsored links
Old December 21st, 2012, 04:53 AM   #2 (permalink)
Junior Member
 
Join Date: Feb 2012
Location: Italy
Posts: 22
 
Device(s): Acer Liquid Metal
Carrier: Not Provided

Thanks: 4
Thanked 3 Times in 3 Posts
Default

Unfortunately multiple screen size support is a bit tricky on Android.
A very good start is the article at

Supporting Multiple Screens | Android Developers

which explains resolution and density concepts in Android.

For tablets, normally a 10' 1280x800 tablets as a 160/180 dpi density so it uses MDPI directory while a phone 4' 800x480 uses the HDPI.
You can create a large-mdpi and/or large-hdpi directory specifically for tablets (with a 7' or more screen) and put your graphics there.
aciampal is offline  
Reply With Quote
Old December 22nd, 2012, 08:16 AM   #3 (permalink)
hnr
New Member
 
Join Date: Dec 2012
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can create Large-Layout files for tablet and you can use different images for large layouts.
hnr is offline  
Reply With Quote
Reply
Tags
multi support screen


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:27 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.