--- nav-title: "ActionBar How-To" title: "action-bar" environment: nativescript description: "Examples for using ActionBar" previous_url: /ApiReference/ui/action-bar/HOW-TO --- # ActionBar Using a ActionBar requires the action-bar module. {%snippet actionbar-common-require%} ## Setting Title and Icon ```XML {%raw%}{%endraw%} ... ``` The icon can only be set in Android platform. It is hidden by default, but you explicitly control its visibility with the `android.iconVisibility' property. ## Setting Custom Title View ```XML