GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-02-26T20:00:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | actionbar, android, menu, mobile, overflow |
Reporter | Sebastien Jacq |
Assignee | Mauro Parra-Miranda |
Created | 2013-02-25T22:21:30.000+0000 |
Updated | 2016-03-08T07:40:40.000+0000 |
On Android handheld device, the overflow menu is wrongly positioned (left aligned with the overflow button). This was tested on HTC Desire X (Android 4.1)
The same code on tablet Galaxy Tab II (android 4.1 or 4.0.3) works fine. The menu is fully visible with a bit of space on the right (as expected).
To reproduce:
- Create a standatd Titanium single Window Projet
- Replace the content of ui/handheld/android/applicationWindow.js with the attached file (few lines to create 5 menu item which goto the overflow by default).
The result on the handheld is shown in the png file
Could not reproduce on Galaxy 4.1.1. Please refer to https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report Followed steps and page in question did not appear.
Needs more/clearer information/test case. Preferably in the form of an app.js.
Please see the attached app.js to reproduce. I also made a mistake on the Android version, the HTC handheld is running 4.0.4
Thanks for the app.js, will test again on 4.0.3 in emulator.
Carter, please note i found the issue. I was using a custom style. Removing everything to go back to the default Ti style fixes the issue. I may comment later when I'll figure out exactly what caused the issue with the custom style as it works fine for everything else.
Ok, resolving for now, if you come upon any further issues with this then feel free to comment below and I will review as necessary. Thanks for the heads up.