render(){ return ( <Iconz name ="ios-person-outline" size={23} color="#222" /> ); }
renderTitle(titleText){ return ( <View style={{backgroundColor:blueI, justifyContent: 'center', alignItems: 'center', height:height/1.2, width: width/2}}> <Text style={{color: 'white', fontSize:20, textAlign:'center'}}>{titleText}</Text> <Iconz name="ios-bicycle" size={40} color="#fff" /> </View> ) }
nav(){ return( <View style={styles.nav1}> <TouchableOpacity onPress={() => Actions.pop()} style={{flex:1, alignItems:'flex-start', justifyContent:"center"}}> <Iconz name = "ios-arrow-round-back-outline" color="#222" size={40} style={{margin:3,}} /> </TouchableOpacity> </View> ) }
unliked(post_id){ return( <TouchableOpacity onPress={() => this.upVote(post_id)}> <Iconz name = "ios-heart-outline" color="#222" size={22} style={{margin:3,}} /> </TouchableOpacity> ) }
render(){ return( <View style={styles.container}> <Image source={{uri: this.state.image}} style={styles.preview} resizeMode="cover" /> <View style={styles.nav}> <TouchableOpacity style={styles.cancel} onPress={() => Actions.pop()}> <Iconz name = "ios-close-circle-outline" color="#fff" size={30} style={{margin:5, backgroundColor:'transparent'}} /> </TouchableOpacity> <TouchableOpacity style={styles.other} onPress={() => Actions.pop()}> <Text></Text> </TouchableOpacity> <TouchableOpacity style={styles.share} onPress={() => Actions.edit({'image': this.state.image})}> <Iconz name = "ios-arrow-dropright" color="#fff" size={30} style={{margin:5, backgroundColor:'transparent'}} /> </TouchableOpacity> </View> </View> ); }
<TouchableOpacity style={styles.cancel} onPress={() => Actions.pop() }> <Iconz name = "ios-close-circle-outline" color="#fff" size={30} style={{margin:5, backgroundColor:'transparent'}} /> </TouchableOpacity> <Iconz name = "ios-paper-plane-outline" color="#fff" size={30} style={{margin:5, backgroundColor:'transparent'}} /> </TouchableOpacity> </View>
liked(){ return( <View> <Iconz name = "ios-heart" color="red" size={22} style={{margin:3,}} /> </View> ) }
nav(){ return( <View style={styles.nav1}> <TouchableOpacity onPress={() => Actions.pop()} style={{flex:1, alignItems:'flex-start', justifyContent:"center"}}> <Iconz name = "ios-arrow-round-back-outline" color="#222" size={40} style={{margin:3,}} /> </TouchableOpacity> <View style={{flex:1}}> <Text style={{fontSize:20, color: 'black'}}> Results </Text> </View> <View style={{flex:1}}> </View> </View> ) }
render(){ return ( <Iconz name ="ios-camera-outline" size={23} color="#222" /> ); }
render(){ return ( <Iconz name ="ios-home-outline" size={23} color="#222" /> ); }
render(){ return ( <Iconz name ="ios-glasses-outline" size={23} color="#222" /> ); }
nav(){ return( <View style={styles.nav1}> <TouchableOpacity onPress={() => Actions.pop()} style={{flex:1, alignItems:'flex-start', justifyContent:"center"}}> <Iconz name = "ios-arrow-round-back-outline" color="#222" size={40} style={{margin:3,}} /> </TouchableOpacity> </View> ) }
render(){ return ( <Iconz name ="ios-search-outline" size={23} color="#222" /> ); }
nav(){ return( <View style={styles.nav1}> <TouchableOpacity onPress={() => Actions.pop()} style={{flex:1, alignItems:'flex-start', justifyContent:"center"}}> <Iconz name = "ios-arrow-round-back-outline" color="#222" size={40} style={{margin:3,}} /> </TouchableOpacity> <View style={{flex:1}}> <Text style={{fontSize:20, color: 'black'}}> Followers </Text> </View> <View style={{flex:1}}> </View> </View> ) }
nav(){ return( <View style={styles.nav1}> <TouchableOpacity onPress={() => Actions.pop()} style={{flex:1, alignItems:'flex-start', justifyContent:"center"}}> <Iconz name = "ios-arrow-round-back-outline" color="#222" size={40} style={{margin:3,}} /> </TouchableOpacity> <View style={{flex:1}}> <Text style={{fontSize:20, color: 'black'}}> Following </Text> </View> <View style={{flex:1}}> </View> </View> ) }