Titanium JIRA Archive
Alloy (ALOY)

[ALOY-991] Support new ActionBar subtitle property in <Menu>

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-08T14:11:14.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.4.0
ComponentsXML
Labelsqe-testadded
ReporterBenjamin Hatfield
AssigneeFeon Sua Xin Miao
Created2014-04-23T21:24:39.000+0000
Updated2014-06-22T13:21:07.000+0000

Description

TiSDK Release 3.2.3, introduces a new ActionBar property called subtitle to set the subtitle of the ActionBar: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Android.ActionBar-property-subtitle Since Alloy XML for Release 1.4.0 will support ActionBar properties in the Menu element, this property should be added as an attribute. Example:
<Alloy>
    <Window title="My Test App">
        <Menu platform="android" title="My XML Menu" subtitle="Foobaz" />
        <Label>Hello, World</Label>
    </Window>
</Alloy>

Comments

  1. Feon Sua Xin Miao 2014-05-07

    Update to new PR. Old PR: https://github.com/appcelerator/alloy/pull/388 New PR: https://github.com/appcelerator/alloy/pull/390 Test app: https://github.com/feons/alloy/tree/ALOY-991/test/apps/testing/ALOY-991 Functional Test: "subtitle" is a valid attribute for Menu element, the string value appears below the title string.
  2. Tim Poulsen 2014-05-08

    Pull request passes code review and all tests. Merged.
  3. Federico Casali 2014-05-09

    Verified working as expected. TiSDK 3.3.0.v20140508223312 Alloy 1.4.0-dev Appcelerator Studio 3.3.0.201405011408 CLI 3.3.0-dev Closing.

JSON Source