I found that building the same app on two different machines leads to a different behavior for Eclipse (or maybe the ADT plugin or whatever, this is why I'm asking) handling a 9-patch PNG.
I integrated the PageProgressView
from the android stock browser (that thin progress bar for the tab loading) as progress bar for my own app.
This progress bar runs on the actionBar
's edge.
it uses this 9-patch drawable in its mdpi, hdpi and xhdpi variants:
this is the intended appearance when the app is built on the 64bit desktop machine (here we have around 33% progress):
while
this is the wrong look when the same code is built and run on the same device (here the progress has gone around the 80%; the background is dark, but some artifacts are visible around the drawable):
Note: the Eclipse versions, although 32 and 64bit, are both updated to latest versions, as is the ADT plugins. OSs are both Linux Mint 16, obviously again 32 and 64 bit for laptop and desktop machines respectively.
Sure, for "production" I can use the desktop, but anyway, do you have any idea why this is happening?
Note-2: I already encountered a different behavior between the two machines, see: this SO q., but I'm not sure if the two issues are related.