Reagieren Sie native Android -Polsterstile
import { Platform} from 'react-native';
import { StyleSheet,Text, SafeAreaView } from 'react-native';
<SafeAreaView style={styles.safeView}>
<Text>Random Text</Text>
</SafeAreaView>
const styles = StyleSheet.create({
safeView:{
flex: 1,
paddingTop: Platform.OS === 'android' ? 25 : 0, //Android
}
});
Famous Finch