Titanium JIRA Archive
Alloy (ALOY)

[ALOY-784] Implement Titanium.Android.ActionBar properties in <Menu>

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-06-09T16:06:00.000+0000
Affected Version/sAlloy 1.2.0
Fix Version/sAlloy 1.4.0, 2014 Sprint 08
ComponentsXML
Labelsactionbar, alloy, notable, qe-testadded
ReporterFokke Zandbergen
AssigneeTim Poulsen
Created2013-08-14T13:38:11.000+0000
Updated2014-06-09T16:06:00.000+0000

Description

I would like to see the ActionBar example at http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Android.ActionBar implemented as attributes for the <Menu> element, so that I can do:
<Menu title="New Title" />

Attachments

FileDateSize
app.zip2014-02-11T21:11:40.000+00003449243

Comments

  1. Tim Poulsen 2014-02-11

    Test app attached
  2. Tim Poulsen 2014-02-11

    PR: https://github.com/appcelerator/alloy/pull/335 Test app included in the PR or use the attached Functional test: 1. Build the app for Android 2. Confirm these properties of the actionBar * title should be "My XML Menu" which is set in the XML * displayHomeAsUp (left caret) is true, set in TSS * icon is custom (not the stock Titanium logo), set in TSS * custom background graphic, set in TSS 3. Click the app icon, an alert is displayed. This is set in the XML
  3. Tim Poulsen 2014-04-21

    PR merged
  4. Tim Poulsen 2014-04-24

    Updated to prevent errors when running the resulting app on Android 2.x. New PR https://github.com/appcelerator/alloy/pull/373 merged
  5. Federico Casali 2014-04-30

    Verified working as expected. TiSDK 3.3.0.v20140429122517 Appcelerator Studio 3.3.0.201404281355 CLI 3.3.0-dev Alloy 1.4.0-dev Tested on Galaxy Nexus 4.3 Sample code also running (not showing ActionBar) on Android Emulator 2.3.3 and iOS Closing.
  6. Tim Poulsen 2014-06-09

    Reopening to add components
  7. Tim Poulsen 2014-06-09

    Added components

JSON Source