Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1940] Android: Menu Items are rendered off-screen when anyDensity=false

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-01-17T03:55:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsactionbar, android, menuitem, triage
ReporterKetan Majmudar
AssigneeRitu Agrawal
Created2013-08-16T12:18:15.000+0000
Updated2016-03-08T07:40:52.000+0000

Description

Load up the latest Kitchen Sink: Select Controls Tab Select Action Bar from list Select SHOW_AS_ACTION_IF_ROOM OR SHOW_AS_ACTION_IF_NEVER Then Toggle the Menu Item hardware or software button. You will see an overflow of the text related to the Menu Items. The Action Jackson alloy project does not suffer form this issue, but they have included a custom action bar theme, which most probably fixes the issue. I am not the only one seeing this problem.

Attachments

FileDateSize
device-2013-08-16-125508.png2013-08-16T12:18:15.000+000090975

Comments

  1. Ketan Majmudar 2013-08-22

    Any updates to this? Its a major issue with developing any Android > 3.x app if we are using the action bar. It's a MAJOR issue. Ket
  2. Ketan Majmudar 2013-08-22

  3. Ingo Muschenetz 2013-09-18

    [~stereoket] Google does not encourage developers to set anyDensity to false. http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any. Is there a reason you need that setting?
  4. Mauro Parra-Miranda 2013-10-15

    As per Ingo's: Google does not encourage developers to set anyDensity to false. http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any. Is there a reason you need that setting?
  5. Ketan Majmudar 2013-10-18

    They may not encourage it, but they are talking from an android only perspective. There are many use cases where this setting fixes cross platform and density issues, also a lot of devs may have this set. Setting it to true will impact the app based upon the units used. It is a bug nevertheless and should not cause an off screen rendering when using menu items. So i don't think this ticket should be closed.
  6. Ingo Muschenetz 2013-10-18

    [~stereoket] Could you expand on your comment about impact based on the units being used? In 3.2.0, we are trying to update the defaults for tiapp.xml, including the default units for projects (see TIMOB-14620). We am faced with a limited amount of time to work on bugs, and so I would prefer to fix bugs by encouraging supported best practices, rather than something which is discouraged by Google, and causes a number of ancillary side effects. Thoughts appreciated.

JSON Source