1import { StyleSheet, Platform } from 'react-native';
2export default StyleSheet.create({
3 droidSafeArea: {
4 flex: 1,
5 backgroundColor: npLBlue,
6 paddingTop: Platform.OS === 'android' ? 25 : 0
7 },
8});
1import GlobalStyles from './GlobalStyles';
2import { SafeAreaView } from "react-native";
3
4render() {
5 return (
6 <SafeAreaView style={GlobalStyles.droidSafeArea}>
7 //More controls and such
8 </SafeAreaView>
9 );
10 }
11}