Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native: how to know th softkey height

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

const DEVICE_HEIGHT = Dimensions.get('screen').height;
const STATUS_BAR = StatusBar.statusBarHeight || 24; 
const WINDOW_HEIGHT = Dimensions.get('window').height;

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #softkey #height
ADD COMMENT
Topic
Name
9+3 =