diff --git a/example/js/CameraRollExample.js b/example/js/CameraRollExample.js index 8f1ef9da8..67cfb802c 100644 --- a/example/js/CameraRollExample.js +++ b/example/js/CameraRollExample.js @@ -19,6 +19,7 @@ const { Text, View, TouchableOpacity, + Dimensions } = ReactNative; import CameraRoll from '../../js/CameraRoll'; import type {PhotoIdentifier, GroupTypes} from '../../js/CameraRoll'; @@ -57,16 +58,18 @@ export default class CameraRollExample extends React.Component { render() { return ( - - {(this.state.bigImages ? 'Big' : 'Small') + ' Images'} - - {'Group Type: ' + this.state.groupTypes} + + + {(this.state.bigImages ? 'Big' : 'Small') + ' Images'} + + {'Group Type: ' + this.state.groupTypes} + { this._cameraRollView = ref; @@ -131,6 +134,11 @@ export default class CameraRollExample extends React.Component { } const styles = StyleSheet.create({ + header: { + marginTop: 44, + padding: 20, + width: Dimensions.get('window').width + }, row: { flexDirection: 'row', flex: 1,