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 !
Related
I was just developing an application in android that works with both phone and tablet.
now the problem i am facing is with the icon sizes, if i am using say 28dp for mdpi devices then i came across one issue. In my office we have one 8inch tablet coming under mdpi and 5 inch phone also in mdpi. so both devices uses the same icon with size 28 dp. How to solve this problem?
Same in the case of text size i am facing the same issue. Is der any solution for this? I hav read many documentation so please dont copy paste urls. Kindly help me with exact solution...
I have a publicated app in Google Play for a year now.
A bug has been spotted, some of the layouts are showing not so well in really large screens like Samsung Galaxy S5's (1080x1920)
I tried to make an emulator with this screen size but my computer just loaded and loaded (black screen on emulator) and hours later nothing really happened.
(Pc: i7, 4GB RAM)
Could anybody suggest me a way to emulate a screen size like this?
Sadly, i cannot have a real device like that.
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.
I have layout xml files for default, default-land, sw480dp, sw480dp-land,sw600dp, and sw600dp-land in an Android project I'm working on. All emulator's scale my resources correctly except for the 4.65" and 4.7" emulators in Eclipse, and does not scale the ad space, or my buttons correctly. These emulators seem to be pulling my default layout resources, but the scaling is wayyy off, and I am not sure why this is. I've tried adding a new folder for sw720dp, but this pulls up the 10" tablet emulator, and does not allow the 4.65 or 4.7 inch devices. Can anyone give me some clues as to what might be going wrong here? I'm done with all my functionality, and was just testing out all devices before submitting the app, and now I've hit a road block. Thanks!
P.S
Not sure what kind of info you'd need to help me out with this, code wise, so let me know what might help you, and I'll insert it!
I'm struggling with this issue on SGS III. My app works well on Galaxy Nexus and Nexus 7 but on SGS III there are actions not rendered correctly. See attached picture.
Anybody has any idea how to fix it?
Please note that bitmap is 450 * displayDensity wide and 450/2 * displayDensity high.
I finally ended up with custom RemoteViews emulating standard look. Not nice solution but gave me way how to add more than three actions too.