I have a png which is 96 X 96. I have two Android phones which have the same screen size but one phone has a higher PPI.
Will this image appear larger on phone with higher PPI?
If so why?
I looked through some documentation but could not find any answer there.
Related
Sorry if this is a duplicate, but I couldn't find any questions here or through Google that matched my needs.
I am working on a small image (167px x 98px) and I noticed that it came up clearly on my desktop, but on the mobile version of the site it looked blurry (not pixelated though). It's still legible but noticeably hazy.
After some research, I realized that it was related to the pixel density. My monitors only have a density of 102 PPI while my phone has 554 PPI. So, I thought if I raised the PPI while maintaining the desired dimensions, I should be able to increase the quality of the image while maintaining the size. I bumped the PPI up to 550 and the result was essentially the same as the original 72 PPI image I started with.
Is there anything else I can do to improve the quality?
More info: This is an image that must be uploaded to Netsuite to be used as the site's logo, so there is no coding that would interfere. Image is PNG-24 format as it has a transparent background. I tried regular RGB and raising the image to 32-bit RGB. I also tried increasing the PPI to 700 in both color formats. While the 32-bit version made the image look better, it was still blurry.
Tested in: Firefox and Chrome mobile on a LG G5. Tested in Edge, Firefox, Chrome and IE on desktop. Running Windows 10, Samsung LED monitors that are 21.5 inches in 1920 x 1080 resolution.
I'm having an issue with getting all the fields to fit on an 800 by 480 display because the submit button disappears off the bottom. That got me to wondering if I really need to support a display that small. The app I'm working on is not for mass-consumption, max usage of a few thousand people, but it is targeted at "normal" users, i.e. the group profiles to the general population.
I did some checking and found two interesting links, especially this one:
https://gigaom.com/2014/07/09/android-screen-sizes-arent-as-big-a-challenge-for-developers-as-you-might-think/
It states that the 10 most popular phones used by the developer's customers corresponded to the 5 following layout sizes:
720 x 1280
768 x 1280
800 x 1280
1080 x 1920
1440 x 2560
The next link:
http://developer.android.com/about/dashboards/index.html
shows that just 6% of phones checked into Google Play are using versions of Android less than Android 4.0, and only 10% are using less than Android 4.1.
I then checked the history the screen sizes for the various versions of the Samsung Galaxy S series, and you have to back to the Galaxy S2, issued in April 2011, to find the one with 800 x 480 screen size. The next S version, the Galaxy S3, was issued in 2012 and has the lowest screen size found on the list of layouts shown above.
The issue is that although the minimum supported Android version in my app is 4.0, someone with an S2 could have upgraded to it. Plus there are some phones issued even recently which have have 800 x 480 displays, e.g. the Samsung Neo. The S3 was the first one issued with 4.0 as the native OS, so if the S2 users didn't upgrade, they wouldn't be able to use the app anyway. Most of them probably have a new phone by now, I'm hoping.
I'm probably going to try to wrap the submit button inside of a relative layout and see if I can let the 800 x 480 users scroll to it, but that display is so tiny I'm not sure I can make it work.
So I guess my question is, how concerned should I be with the 800 x 480 display issue?
I myself used the link you provided for research for my internship a couple of months back as well. The images I provided below indicate that a normal hdpi screen takes up 38.3% of all phones. This would be either 480x800, 480x854, or 600x1024 (if I interpreted it correctly). 38% is a serious amount and should not be discarded.
Not to sound degrading, but did you consider using a ScrollView in combination with sizing in dp?
am developing an application which support from 2.3.3 to 4.2. here am developing an application which can support both phone and tablet. for that i created sperate layouts and saved in different folder.
i tested my application with a test device X-treme 7" Internet tablet which is android 4.0.1 version. but when i test with my tablet its not take layouts from layout-large folder. but when i test with emulator which runs android 3.0 OS it takes layouts from large folder.
and my doubt is that why my application is not working properly (ie, took layout properly) ??
The X-treme 7" Internet tablet has a resolution of 800x480. With a 7" screen, that puts the pixels per inch somewhere around 80, which falls into very low end of the ldpi scale (which is <=120ppi. To convert a resolution of 800x480 to a density independent pixel (dp) screen size, we must multiply by ldpi's scaling of 0.75, which gives us a resolution of 600dp x 360 dp.
As per the range of screen supported guide, a large screen must be at least 640dp x 480dp, therefore your X-treme 7" Internet tablet should be classified as a normal screen device, hence why it is not picking up your layout-large layouts.
You can use any number of the many apps on Google Play to confirm your tablet's screen density and what resources it should be loading.
I am creating a wire-frame android application for presentational purposes only. My target device is a 1280 x 800 10.1 inch tablet. I need to know the exact resolution of the device subtracting the navigation bar at the bottom. At first I made my graphics in 1280 x 800, but they didn't fit the screen properly because of the navigation bar, does anyone know the actual available resolution for a 10.1 1280 x 800 tablet?
I made a screenshot of an ICS emulator running on 1280x800 pixels. The system bar is 48 pixels high, so 752 pixels remain for your application.
Ok this is interesting, according to this the active resolution would be 1280x752 (Android 3.1) But this talks about something I support, design for any resolution.
I hope this helps out better. Good luck.
I am considering to drop support for small screens in my app.
Recently I have stumbled upon Screen Sizes and Densities and currently (2011-10-01) it says that 3.5 percent of the active devices fall into the small/hdpi category. I wonder what device actually has a small screen with high pixel density?
I know of the HTC Wildfire which has 240 x 320 pixels, 3.2 inches (~125 ppi pixel density). If I understand correctly that would be an ldpi device. For my app the Wildfire has a share of somewhere around 2 percent.
So first, why does Screen Sizes and Densities not list anything under small/ldpi? And second, what would be an example of a small/hdpi device?
There are some device from Dell like Aero which comes under small/hdpi.
HTC Tattoo can be considered under small/ldpi
Just to add to Basavraj's answer, Guessing the screen size is not that simple. Like Galaxy note has 1200 X 800 screen dimensions but it's screen size falls in large(and not in extra-large) category.