From 401206b85b6fac9232782ec98be3621943cf07c3 Mon Sep 17 00:00:00 2001
From: Website Deployment Script Navi
API exposed as static functions on the component. It is however not recommended
to use the static API and the component for the same prop because any value
set by the static API will get overriden by the one set by the component in
-the next render.
currentHeight The height of the status bar.
If the transition between status bar property changes should be animated. +the next render.
currentHeight (Android only) The height of the status bar.
If the transition between status bar property changes should be animated. Supported for backgroundColor, barStyle and hidden.
If the status bar is hidden.
If the status bar is translucent. When translucent is set to true, the app will draw under the status bar. This is useful when using a semi transparent status bar color.
Sets the color of the status bar text.
If the network activity indicator should be visible.
The transition effect when showing and hiding the status bar using the hidden
@@ -441,10 +441,11 @@ const examples = render() {
return (
<View>
- <Text>Height: {StatusBar.currentHeight} pts</Text>
+ <Text>Height (Android only): {StatusBar.currentHeight} pts</Text>
</View>
);
},
+ platform: 'android',
}];
exports.examples = examples;