I'm facing a problem in rendering the layout background image attached here on higher resolution devices.On few devices it shows well but fails on certain devices.
a) Samsung Galaxy grand renders the background with no circles.
b) Samsung Galaxy s II shows circles in plain background image.
I need to show an consistent image on all device versions.I hope 9 patch image will resolve this problem. Let me know your suggestions further to fix these problem.
Thanks in advance.
Your image is absolutely fine. I'm also pretty sure all of these devices display them correctly and in full color (in custom ROMs you can force Android to use 16-bit color mode which can cause color banding but I believe it's not your case).
I think color bandindg you see on certain devices is caused by low quality LCD matrices used in these phones which are not capable to display full gamut of your gradient.
You can find bad LCD screens even in phones believed to be "top devices". In my experience the worst color banding of gradients is on ASUS devices. Transformer TF101 is just so-so, but on Nexus7 even default wallpaper (the one with colorful blurred stuff) looks ugly. In contrary to these devices, Samsung's Nexus10 has a sharp and vivid screen with no banding.
Usually, the more is brightness, the less is contrast, leading to color banding. IIRC Samsung devices have various screen color profile presets, you can try to play with them.
Related
I'm working on an Xamarin Android app and have a background image that I use. It works great on almost all devices except LG G3. I see that it has a 1440x2560 resolution, I tried putting the background image to that resolution too in the Resources but it still doesn't show. Does anyone know which would be the right resolution that I should use ?
Thank you all for your help !
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
I'm have a fragment whose BG should be semi transparent. So, I'm using <color name="transparent75">#BF000000</color> which is 75% black transparency.
It looks good on Samsung S4, but it is too transparent on Sony device. I'm googling from a while and couldn't get any proper solution.
Any solutions much appreciated.
I don't think every screen was made equal. I have tried comparing white background on nexus 5 and Samsung s4, the result is different.
I found a discussion about color reproduction here. Maybe this is what you're experiencing right now.
The screen technology is different between the nexus 5 and 6. The 5 uses an IPS screen that is backlit and is generally considered superior at reproducing whites, and colors tend to be more life-like.
The nexus 6 has an Amoled screen - it is not back lit, with each pixel lighting up individually. Amoled screens are great at reproducing blacks, and are also generally more saturated when it comes to colors. - Jakshadows26
it's my first time to develop for Android and I almost finished the app but when I started testing it I faced some problems related to UI. I tested the app while programming it using galaxy s6 edge plus which has a 5.7" 1440x2560 screen, the app has many textviews and I used "sp" units for their text sizes and also used "dp" units for the margins between them. For some textviews I set their backgrounds as a drawable xml in which I set a value for their width and height using "dp" units instead of using wrap_content because I want the backgrounds to be larger than the text inside it so the user can easily touch it. I also made a large-layout folder where I put new xmls inside it with larger fonts so that they work will on tablet and they did, I tested the app on a tablet and it looks great using these xmls and also the app looks great on the 5.7" phone with the normal textviews. Then I tested it on 2 phones with smaller screens each of 5" one of them with Full HD resolution and the other with HD resolution and it looked good on both of them too but when I tested it on a phone with 5" screen but low resolution (480x800) the app looked terrible, textviews interfering with each other and the drawable backgrounds are too big, in short the whole UI is a mess.
What I need to know is whether I also have to test the app for more screen sizes below 5" or for other resolutions too? Because if this is the case then this means so much work!
This is a screenshot of the code for the textview with the drawable background
Thanks in advance
Go through this tutorial: http://developer.android.com/training/basics/supporting-devices/screens.html and this too: http://developer.android.com/training/multiscreen/index.html
I'm sure this will help you out.
If you still encounter any problem, feel free to ask again!
Peace.
hope this will be a quick easy question, I've just tried my app on my old phone and it looks better (personal oppinion) on my older HTC Desire then my newer Samsung SII. The main part is the rounding of corners on most things. Do you know where that is coming from? Manufacture or Droid Version? and can I force the rounded corners without resorting to massive amounts of effort on the samsung, and I presume most handsets?
HTC is v2.2.2
samsung is v2.3.4
What you are seeing here are manufacturer specific themes. HTC Devices run the so called Sense UI. While on Samsung devices you find TouchWiz.
If you want to have the Sense UI look & feel on Samsung Devices you indeed need to resort to (massive) amounts of efforts by creating your own theme or custom widget styles.
Cheers
Renard
As you probably know Samsung has implemented his own Android interface, such as HTC. The image quality is due to the difference between HDPI, MDPI and LDPI scrrens.
The best way to get rounded corners is to create a new style for you widgets.
Google something like "android:background style spinner".
Regards.