react-native-responsive-screen when i put 50% the other 50% will go to new line code example
Example: react-native-responsive-screen
import {widthPercentageToDP as wp, heightPercentageToDP as hp} from 'react-native-responsive-screen'; class Login extends Component { render() { return ( <View style={styles.container}> <View style={styles.textWrapper}> <Text style={styles.myText}>Login</Text> </View> </View> ); }} const styles = StyleSheet.create({ container: { flex: 1 }, textWrapper: { height: hp('70%'),