I have developed a business app that runs fine on android phone. What do i need to do the screen designs (xml files) so it will scale up for example 10" tablets? but still be okay on the phone?
thanks
You've asked a general questions so the best I can do is give you a general answer. You should read the android documentation on Supporting Multiple Screens.
Related
I have doubt in making the layout for other deices I mean to support different devices of different resolutions. I have made an application and it is working well on hdpi devices and I tested on Samsung Galaxy grand which has 320dp-460dp and 480px-800px.
May application is looking awesome on this device. but when I run on other devices its gone bad. SO I am suggested to make the folder like layout-large, layout-xlarge and layout-xxlarge but there is a lot of difference in this link and this link
So this makes me confuse , with which name I have to make the layout folders to support all devices ?? please tell me
and also tell me I have some hard coded values in my layout such as left margin 13 dp to make my design look perfect on hdpi device should I make it more in other xhdpi devices ???
and also which devices comes in layout-large folder and so on please answer my both confusion , thanks in advance
I use Google's code as an example of how to do stuff. The docs on "Supporting multiple screen" is a bit old and outdated. The best way to keep up with the current conventions is to follow other's codes.
Here is the source code for the Calendar app. Yes, there a lot of different folders for layouts/drawable/values but you have to consider the fact that there are a lot of devices with varying sizes and pixel densities.
Also, why do you want to make many folders for layout? You make a few layouts and let the values and drawables do the rest of the work. Hope it's helpful.
IF you are interested in knowing which device falls under which folder, then check this figure from the Official Android Guide:
Of course you need to know the actual size or density of the physical device
I need to redesign an app from IOS to Android (only the GUI, no coding), but it has to be compatible (from the design point of view) with ICS, JB and KitKat versions.
I only designed apps for IOS not for android so, the problem is - I don't know what resolutions should I use (screen sizes in px and density - dpi). I understood that I have to do different sizes and I found this on google and this, but I still don't know where to begin from. Can anyone please tell me what sizes should I take in mind when designing the UI for the app? (like 480x800px at 320dpi, and so on).
you can try having a look at below page by android:
Supporting Multiple Screens
For total understanding of UI design in android you can have a look over here
Supporting Different Screen Sizes
Android have no standard screen size predefined but things getting better in Andoid 3.2+ by new qulalifiers like sw (screens wider than ...). Before that you could only use size-buckets like large, normal, small which was not suitable for all ranges of android devices (in order to have a big picture, there are around 4000+ differnet android devices out there!).
you can have a look over official android blog for comprehensive details about this.
My app looks great on my phone, and on my AVD. On my co-dev's phone though, his screen is smaller and all the content isn't shown. Is there a way to detect how big the users screen is and adjust the layout from there? If so can someone link me a tutorial? Thank you guys!
Android has two excellent articles on this subject:
Supporting Different Screen Sizes
Supporting Multiple Screens
Android-How to develop applications for all phone devices(Different screen sizes) or for majority of phones
Concepts and techniques
I have created application-according to my phone screen size(samsung galaxy ace) but I created all back ground images sizes appropriate for it..I do not know what will happen It insllaed in any other phone..sure it will distorted..So Please help me to modify my app for compatible with most of the devises.
Many thanks.
you can make a folder under "res" and make folders such as "layout-small", "layout-medium" etc to provide for multiple backgrounds.
http://developer.android.com/guide/practices/screens_support.html
I'm a graphic designer and am designing an android app for a client for the first time. Currently my comps are 1280x752 pixels (found these dimensions here: http://www.smashingmagazine.com/2011/08/09/designing-for-android-tablets/) for a 10" tab, however I can't find out what the dimensions should be for the 7" tab?? The client wants to see some of the comps sized down to the 7" size.
I've read through the android developer app and everything is in "mdpi". is that the same as dpi?
Thank you for any assistance!
Android screen design is no straight forward process like for the IPhone for example. Android devices can come in (almost) all densities (XHDPI, HDPI, MDPI, LDPI) and Sizes.
You have to understand the principles of android screen-layouts to understand how to design apps for android. This documentation is a good starting point, also the Android Design Page has a lot to offer.
Or talk directly to the developer which has to turn your design into code - what resolutions does he need etc.