Davek804
Davek804

Reputation: 2804

Custom app installed onto Galaxy Nexus doesn't look anything like it should

I am developing an app in Android that I hope to release. I've got most of my GUI done, but it does not look even close to correct on the device when installed and opened. I have a screenshot of how it looks, and a screengrab of how it should look (taken from the Emulator in Eclipse) at the links at the bottom of this post. It's best to take a look at the two images rather than me try to describe how screwed up the app becomes on my device.

I had a friend with the exact same device, including hardware and Android version, and his loads up just fine. Does anyone have any idea what's going on here? Both devices are Galaxy Nexuses, running Android 4.0.2, GSM on AT&T (unlocked).

Installed on my device: https://i.sstatic.net/x66Jo.png In the emulator: https://i.sstatic.net/qE0J6.png

Upvotes: 1

Views: 291

Answers (3)

straya
straya

Reputation: 5059

I've seen this occur in some Galaxy Nexus' and I put it down to a bug/glitch in the OS on that Galaxy Nexus. Try a Factory Reset of your Galaxy Nexus, if that fails, try reinstalling the current OS version you have (if you can get your hands on it), if that fails, get it fixed under warranty.

Upvotes: 3

Liam
Liam

Reputation: 4055

I realise this is an old question now but I was having the same problem as you and stumbled across a solution. I didn't particularly want to factory reset my phone as per straya's instructions, so I started playing around options in the Settings > Developer Options menu.

As it turns out, this problem occurs for some applications if you have the Force GPU rendering option checked. Disable this (I'm not sure why it was enabled anyway) and everything displays as it should.

Upvotes: 1

triad
triad

Reputation: 21507

Does your app use multiple activities?

Can you compare on your two devices if this setting is the same?

Settings > Developer Options > Don't keep activities checkbox.

Upvotes: 1

Related Questions