Use a responsive ilibrary like this that will handle things better.
react-native-size-matters
Eg:
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
const Component = props =>
<View style={{
width: scale(30),
height: verticalScale(50),
padding: moderateScale(5)
}}/>;
Thus things will look better in all devices. Use verticalScale for defining things relative to height of the device. scale can be used for normal things .. then there is a custom option moderateScale where u can manually define the scaling ratio as well.
For more details refer : Scaling React Native apps
PS: there are other options as well where u can manually define a custom class to get the PixelRatio and everything. but this is a straight forward approach.
Refer PixelRatio Approach