mcongrove / ChariTi

Please do not use: this is out-dated
Other
113 stars 85 forks source link

Top navigation buttons are partially unresponsive on Android #229

Open demogar opened 10 years ago

demogar commented 10 years ago

I have tested this many times on many devices (Nexus 7, Nexus 5, Samsung Galaxy S4/S3, etc..) and I notice that top buttons (menu, back, etc) on Android are quite unresponsive.

I have tried several ways to resolve the issue, like assigning touchEnabled=false to the children images, but nothing worked so far.

I'm using the master branch for testing purposes, using the devices mentioned above, most of them running Android 4.x. Also tried on Android 2.x, same result. One thing to notice is that the buttons work perfectly on iOS devices.

demogar commented 10 years ago

@mcongrove any idea on this issue?

mcongrove commented 10 years ago

When you say unresponsive, do you mean that they're just hard to click? As in, the hit-area isn't large enough? If so, it might be a good idea to just increase the size of the Views that wrap the ImageViews for all of the buttons in the navigation bar.

demogar commented 10 years ago

@mcongrove sorry for the lack of information, but yes, that's what I meant.

I will try to increase the area and see what happens.

demogar commented 10 years ago

@mcongrove forgot to give feedback. It still not worked some times. A quick fix was to create 2 transparent views floating on top/left and top/right, outside the #Wrapper element and slightly wider.

I will make some more tests and if this solves the issue I will provide a PR.