You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Using a ActionBar requires the action-bar module.
11
+
// ``` JavaScript
12
+
importactionBarModule= require("ui/action-bar");
13
+
// ```
14
+
//
15
+
// ## Setting Title and Icon
16
+
//```XML
17
+
// <Page>
18
+
// <Page.actionBar>
19
+
// {%raw%}<ActionBar title="{{ title }}" android.icon="res://ic_test"/>{%endraw%}
20
+
// </Page.actionBar>
21
+
// ...
22
+
// </Page>
23
+
//```
24
+
//The icon can only be set in Android platform. Following the design guides it is automatically hidden in Lollipop versions (API level >= 20). You explicitly control its visibility with the `android.iconVisibility' property.
0 commit comments