Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.09 KB

navigation-bar.mdx

File metadata and controls

28 lines (19 loc) · 1.09 KB
title description sourceCodeUrl packageName platforms
NavigationBar
A library that provides access to various interactions with the native navigation bar on Android.
expo-navigation-bar
android

import APISection from '/components/plugins/APISection'; import { APIInstallSection } from '/components/plugins/InstallSection';

expo-navigation-bar enables you to modify and observe the native navigation bar on Android devices. Due to some Android platform restrictions, parts of this API overlap with the expo-status-bar API.

Properties are named after style properties; visibility, position, backgroundColor, borderColor, and so on.

The APIs in this package have no impact when "Gesture Navigation" is enabled on the Android device. There is currently no native Android API to detect if "Gesture Navigation" is enabled or not.

Installation

API

import * as NavigationBar from 'expo-navigation-bar';