aboutsummaryrefslogtreecommitdiff
path: root/mobile/components/GreetingPage.js
diff options
context:
space:
mode:
authorAndrew <andrew.mihai@mail.utoronto.ca>2019-03-28 17:58:57 +0000
committerAndrew <andrew.mihai@mail.utoronto.ca>2019-03-28 17:58:57 +0000
commit669d100930c9b2d9597b48677f27f0d8216036e4 (patch)
treee0c26519db8a13f7072d55b90d068ce59d9145ac /mobile/components/GreetingPage.js
parenta2e5a2de701a6e0459538e6894c0be266778351e (diff)
Moved button icons beside button textfeat/35
Diffstat (limited to 'mobile/components/GreetingPage.js')
-rw-r--r--mobile/components/GreetingPage.js19
1 files changed, 11 insertions, 8 deletions
diff --git a/mobile/components/GreetingPage.js b/mobile/components/GreetingPage.js
index 9301fbc..4f68132 100644
--- a/mobile/components/GreetingPage.js
+++ b/mobile/components/GreetingPage.js
@@ -81,13 +81,13 @@ export default class GreetingPage extends Component {
<View style={styles.press_button}>
- <View>
+ <View padding={15}>
<Text style={styles.current_location_title}>
Use Current Location
</Text>
</View>
- <View marginTop = {20}>
+ <View marginTop = {5}>
<Ionicons name="md-locate" size={40} color="white"/>
</View>
@@ -98,13 +98,13 @@ export default class GreetingPage extends Component {
<TouchableHighlight disabled style={styles.second_button_container}>
<View style={styles.press_button}>
- <View>
+ <View padding={15}>
<Text style={styles.current_location_title}>
Drop Pin
</Text>
</View>
- <View marginTop = {20}>
+ <View>
<Ionicons name="md-pin" size={40} color="white"/>
</View>
@@ -140,7 +140,6 @@ const styles = StyleSheet.create( {
},
current_location_title: {
color: '#FFF',
- marginTop: 15,
textAlign: 'center',
opacity: 0.9,
fontSize: 20
@@ -155,12 +154,16 @@ const styles = StyleSheet.create( {
alignItems: 'stretch'
},
press_button: {
- flexDirection: 'column',
- justifyContent: 'center',
+ flexDirection: 'row',
+ justifyContent: 'space-between',
+ // padding:5,
alignItems: 'center'
},
second_button_container: {
flex: 1,
- backgroundColor: '#535c68'
+ backgroundColor: '#535c68',
+ flexDirection: 'row',
+ justifyContent: 'center',
+ alignItems: 'stretch'
}
})