Browse Source

Update README.md

Guy Carmeli 8 years ago
parent
commit
dfb88e51fd
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      README.md

+ 1
- 0
README.md View File

@@ -571,6 +571,7 @@ class FirstTabScreen extends Component {
571 571
         testID: 'e2e_rules', // optional, used to locate this view in end-to-end tests
572 572
         disabled: true, // optional, used to disable the button (appears faded and doesn't interact)
573 573
         disableIconTint: true, // optional, by default the image colors are overridden and tinted to navBarButtonColor, set to true to keep the original image colors
574
+        showAsAction: 'ifRoom' // optional, Android only. Control how the button is displayed in the Toolbar. Accepted valued: 'ifRoom' (default) - Show this item as a button in an Action Bar if the system decides there is room for it. 'always' - Always show this item as a button in an Action Bar. 'withText' - When this item is in the action bar, always show it with a text label even if it also has an icon specified. 'never' - Never show this item as a button in an Action Bar.
574 575
       },
575 576
       {
576 577
         icon: require('../../img/navicon_add.png'), // for icon button, provide the local image asset name