-
Notifications
You must be signed in to change notification settings - Fork 0
/
GalleryBottomBanner.js
57 lines (49 loc) · 1.52 KB
/
GalleryBottomBanner.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import React, { Component } from 'react';
import {
StyleSheet,
TouchableOpacity,
Text,
View,
Image,
ImageBackground,
TextInput, Button,
Alert, FlatList
} from 'react-native'
import Icon from 'react-native-vector-icons/AntDesign'
export default GalleryChildBanners = () => {
return (
<View style={styles.GalleryChildBanners}>
{/* style={{
width: '75%', height: 90, resizeMode: 'stretch'
}} */}
<ImageBackground source={require('./GalleryBottomBanner.png')} style={{width:'90%',height:90,resizeMode:'stretch',marginLeft:'8%'}} >
{
<View style={{justifyContent:'center',marginTop:'3%',marginLeft:'10%'}}>
<Text style={{fontWeight:'bold',color:'#141414'}}> Jungle Suffari
</Text>
<View style={{flexDirection:'row',marginTop:'1%'}}>
<Icon name="clockcircleo" size={15} style={{color:'#c5c5c5'}}/>
<Text style={{fontWeight:'bold',fontSize:10,color:'#c5c5c5'}}> 1-june 2008 - 20th june 2019
</Text>
</View>
</View> }
</ImageBackground>
</View>
);
}
const styles = StyleSheet.create({
GalleryChildBanners: {
height: 120,
width: "100%",
position:'absolute',
bottom: 0,
zIndex: 10,
alignItems :"center",
marginBottom: -25,
}, textBody: {
width: 100,
height: 50,
position: 'absolute',
backgroundColor: 'red'
}
});