Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native: how to know th softkey height

import { Dimensions , StatusBar } from 'react-native';

const screenHeight = Dimensions.get('screen').height;
const windowHeight = Dimensions.get('window').height;
const navbarHeight = screenHeight - windowHeight + StatusBar.currentHeight;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #softkey #height
ADD COMMENT
Topic
Name
3+5 =