Question: I need to create perforce clients from my jenkins build scripts, and this needs to be done unattended. This is mainly because jenkins jobs run in unique folders, Perforce insists that each client has a unique root target folder, and we create new jenkins jobs all the time based on need. Right now each time I create a unique jenkins job, I have to manually create a perforce client for that job - I can do this from the command line, but Perforce also insists on pausing the client creation to show me the specification settings file, which I need to manually close before the client is created.

To create the client I'm using

```
p4 -u myuser -P mypassword client -S //mydepo/mystream someclientname

```

and I'm using this awful hack to simultaneously kill notepad 

```
p4 -u myuser -P mypassword client -S //mydepo/mystream someclientname | taskkill /IM notepad.exe /F

```

This sort of works, but it doesn't feel right. Is there an official/better way I can force p4 to silently force create a client?

Answer: 
You can position an absolute View over the RNCamera view, and put all of your content into that absolute view. For example:

```js
import { RNCamera } from 'react-native-camera';

class TakePicture extends Component {

  takePicture = async () => {
    try {
      const data = await this.camera.takePictureAsync();
      console.log('Path to image: ' + data.uri);
    } catch (err) {
      // console.log('err: ', err);
    }
  };

  render() {
    return (
      <View style={styles.container}>
        <RNCamera
          ref={cam => {
            this.camera = cam;
          }}
          style={styles.preview}
        >
          <View style={styles.captureContainer}>
            <TouchableOpacity style={styles.captureBtn} onPress={this.takePicture}>
              <Icon style={styles.iconCamera}>camera</Icon>
              <Text>Take Photo</Text>
            </TouchableOpacity>
          </View>
        </RNCamera>

        <View style={styles.space} />
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    position: 'relative'
  },

  captueContainer: {
    position: 'absolute'
    bottom: 0,
  },

  captureBtn: {
    backgroundColor: 'red'
  }
});
```

This is just an example. You will have to play with css properties to reach the desired layout.
simply add this to your code, remember it should be placed inside, it will make a stylish button with shadow.
`<RNCamera> </RNCamera>`

```
<RNCamera> 

<View style={{position: 'absolute',                                          
       bottom: "50%",                                                    
       right: "30%",}}>

<TouchableOpacity
   style={{
       borderWidth:1,
       borderColor:'#4f83cc',
       alignItems:'center',
       justifyContent:'center',
       width:"180%",
       height:"180%",
       backgroundColor:'#fff',
       borderRadius:100,
       shadowOpacity:1,
      shadowRadius:1,
shadowColor:"#414685",
       shadowOffset: {
          width: 1,
          height: 5.5,
        },
        elevation: 6,

     }}
     onPress={()=>{Alert.alert('hellowworld')}}
 >
                  <Text>hello World</Text> 
  </TouchableOpacity>

</View>

</RNCamera>

```

here you can see the output, it will be on the top of the camera.
[![enter image description here](https://i.stack.imgur.com/FuftO.png)](https://i.stack.imgur.com/FuftO.png)