put view styles in styles.js

This commit is contained in:
tina
2018-06-18 14:06:32 +02:00
parent 4a5afd4662
commit feb642aa92
6 changed files with 95 additions and 31 deletions
+5 -5
View File
@@ -54,23 +54,23 @@ export default class DayView extends Component {
}
return (
<View style={{flex: 1, flexDirection: 'column', justifyContent: 'flex-start'}}>
<View style={{flexDirection: 'row', justifyContent: 'space-evenly', alignItems: 'center'}}>
<View style={ styles.symptomEditListedSymptomView }>
<View style={ styles.itemsInRowSeparatedView }>
<View style={{flex: 1}}>
<Text style={styles.symptomDayView}>Bleeding</Text>
</View>
<View style={{flex: 1, margin:5}}>
<View style={ styles.singleButtonView }>
<Button
onPress={() => this.showView('bleedingEditView')}
title={bleedingLabel}>
</Button>
</View>
</View>
<View style={{flexDirection: 'row', justifyContent: 'space-evenly', alignItems: 'center'}}>
<View style={ styles.itemsInRowSeparatedView}>
<View style={{flex: 1}}>
<Text style={styles.symptomDayView}>Temperature</Text>
</View>
<View style={{flex: 1, margin:5}}>
<View style={ styles.singleButtonView }>
<Button
onPress={() => this.showView('temperatureEditView')}
title={temperatureLabel}>