Why is my icon stretched on android devices? - android

All my icons have correct sizes and look perfect on iOS in unity but when installed on android devices, they appear stretched.
How should I fix this?

Related

android studio 2 emulator not scaling correctly

I am using Android Studio 2.2 on Surface Pro 4 which has high DPI QHD resolution. The issue is with emulator. When I launch AVD manager and create an emulator, following is the result. I have tried changing DPI etc, however, it seems that there is some serious scaling issue.
Interesting thing is that despite the actual display is shrunk to a corner, the touch / input responses are in actual expected place (black area at the botton of the skin for home button etc.)
See the link below for screenshot.
Any idea how this can be fixed ? Thanks

Is there a way to stretch Android phone apps in tablets like how Apple does when we install iphone app on Ipad?

I have designed a app to support Android phones and i didn't create any layouts or images to support tablets. After running the app in the tablet i see that there is a lot of empty space on tablets.I don't have time to create separate layouts for bigger screen devices. I'm just wondering if there is any way that android stretches screen to support tablet versions like how apple does when we install the Iphone app on Ipad.
Your help is much appreciated

Ionic/Android pixelated icons

So I have some icons in my Ionic app, mostly 512x512 px. I've tried the app on iOS and everything looks good, but when I run it on Android device all the icons look pixelated. I'm using a 1200x800 Android tablet so could this the issue or there is something else ?
you can use android and iOS icons from http://ionicons.com

Android Different Resolution Support in IBM Worklight

I am searching on different resolution support in IBM Worklight android . From this side i am reading tutorials IBM Worklight Tutorials In tutorial/module 09 they discuss about different resolutions.
In the document there is line which telling:
By default, Android application assumes that the application HTML
file was styled for a screen width of 320 pixels.
When displaying graphical elements on wider screens, Android
automatically scales images and fonts to the appropriate ratio.
For example, on a 480-pixel wide screen, a 100-pixel wide image will
be scaled by 480/320 (= 1.5) to 150 pixels in width
Now i make a Worklight Hybrid project and set a background image in it and two buttons on this image. Its a demo app in which i am testing different resolutions.
Now i deploy this app in android and run it on Tab 7 inch ,nexus 4 and tab 10.1 .Now my image size is 580x320 and bit depth is 24.
When i run this project on nexus 4 it gives the width of image correct but it do not scales the image height vise.
When i run this project on tab 7 2 , it shows the image having some extra white space on the left of image and extra white space on height of image means down the image.
When i run on tab 10.1 it shows the same behavior as the tab 7 2 did.
I am really confuse that which exact general size will be use so that all these scale on all screen sizes and not shows extra white space on width and on height
I would suggest using Worklight Skins in order to support multiple Android devices (with varying screen sizes) in your application.
Idan's answer works for me. I have a android tablet for some reason the app looks very blurry and huge buttons and fonts all the time. I have tried all the different target-densitydpi setting, the button might have change sizes. But everything is still very blurry.
Then I set this in the Android manifest as per Idan.
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="13"/>
Now everything is sharp and crisp on my low resolution tablet. It turns out that Android would automatically do some scaling "screen compatibility mode" even though my device can support better resolution. Android will still treat this as low resolution and scale things automatically. By providing the target, it will stop this behaviour when the device is higher than that Android version. Read more here.
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

Android - what are some common techniques to make phone apps not appear stretched on tablets

I have a few Android apps. They look on on the phones, but when I look at them on a tablet, they look very stretched (in width). Here is an example screen shot:
Is there a particular design setting I can use to make the content and buttons not appear so stretched out when viewed on a tablet? Thanks!

Categories

Resources