Skip to content

Ability to use built-in system icons on ActionBarItems. #364

Closed

Description

@tjvantoll

The <MenuIcon> has an icon attribute, but it seems to require you to use an image that your provide in your app.

Is there any built-in way we can leverage the icons built into the OS? For instance UIBarButtonSystemItem on iOS.

On two different apps now I've wanted to add a share icon to the nav bar, and there doesn't seem to be an easy way to do this at the moment. Ideally {N} would give me some way to use UIBarButtonSystemItemAction on iOS, and Android's version on Android.

Thanks.

Activity

  1. changed the title [-]Use built-in OS icons in <MenuItem>[/-] [+]Use built-in OS icons in <ActionItem>[/+] on Sep 21, 2015
  2. tjvantoll commented on Sep 21, 2015

    @tjvantoll
    ContributorAuthor

    In the meantime, if someone could help me figure out how to make an existing <ActionItem> use a built in iOS icon you would make my day. The iOS APIs don't seem to have a way to change an existing button's icon.

  3. self-assigned this
    on Nov 17, 2015
  4. added this to the milestone on Nov 17, 2015
  5. changed the title [-]Use built-in OS icons in <ActionItem>[/-] [+]Ability to use built-in system icons on ActionBarItems.[/+] on Nov 18, 2015
  6. modified the milestones: 1.5, on Nov 18, 2015
  7. hamorphis commented on Nov 18, 2015

    @hamorphis
    Contributor
        <ActionBar title="Title">
          <ActionBar.actionItems>
            <ActionItem tap="searchTap" ios.Position="left" ios.systemIcon="12" android.systemIcon="ic_menu_search"/>
            <ActionItem tap="cameraTap" ios.Position="right" ios.systemIcon="15" android.systemIcon="ic_menu_camera"/>
            <ActionItem tap="trashTap" ios.Position="right" ios.systemIcon="16" android.systemIcon="ic_menu_delete"/>
          </ActionBar.actionItems>
        </ActionBar>
    
    
  8. added a commit that references this issue on Nov 18, 2015
  9. added a commit that references this issue on Nov 19, 2015
  10. lock commented on Aug 30, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  11. locked and limited conversation to collaborators on Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions