Jason
Jason

Reputation: 231

Android messed up drawables

There is something very strange happening in my app. only happens on one phone. In every view appears a drawable on top, that won't disappear, and that drawable dosn't exist on that screen. I've done few things;

My app screenshot (WRONG):

enter image description here

My app screenshot (How it should be):

enter image description here

Upvotes: 0

Views: 271

Answers (5)

Jason
Jason

Reputation: 231

Upgraded Eclipse version and run ./eclipse -clean, and now everything is perfect :-D

Upvotes: 1

Rahul Upadhyay
Rahul Upadhyay

Reputation: 3523

Use uiautomatorviewer tool to detect the exact error

Upvotes: 0

Anju
Anju

Reputation: 9479

Check which kind of device throws this error and check whether you have written any specific layout for that particular screen size and density. If so, check whether you have added some image by mistake.

Upvotes: 0

Gangnus
Gangnus

Reputation: 24464

  • check your images - where do you have these arrows
  • search for names of these files in the project

Upvotes: 0

Bolhoso
Bolhoso

Reputation: 905

Have a look at your styles.xml and check if you aren't putting any drawable on every view, overriding any android style.

Additionally, try Hierarchy View and check exactly which resource is being drawed in the strange views. You will probably get the ID of the resource, with that, search in you R for the ID and try to narrow down which drawable if annoying you.

Upvotes: 0

Related Questions