Adjust colors, increase image DPI, add logo to menu bottom

This commit is contained in:
2017-02-04 01:55:30 -07:00
parent 2316f40f37
commit 1d1fc49b51
7 changed files with 164 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ export default class Calc extends Component {
onPress={() => {
Alert.alert(
'No Solution Exists',
'This app recommends resistors to be added in parallel. It\'s impossible to increase resistance (to make it closer to the target) by adding another resistor in parallel.\n\nPlease remove the lowest value resistor if you wish to keep solving.',
'This app recommends resistors to be added in parallel. It\'s impossible to increase resistance (to make it closer to the target) by adding another resistor in parallel.\n\nPlease remove the resistor and find a higher one if you wish to keep solving.',
[{text: 'OK'}]
);
}}

View File

@@ -9,7 +9,7 @@ const styles = {
flex: 1,
},
menutable: {
borderBottomColor: 'lightgrey',
borderBottomColor: '#96b885',
borderBottomWidth: 1,
padding: 15,
fontSize: 16,
@@ -33,6 +33,7 @@ export default class Menu extends Component {
<MyText style={styles.menutable} onPress={null}>Tips</MyText>
<MyText style={[styles.menutable, {borderBottomWidth: 0}]} onPress={null}>About</MyText>
</ScrollView>
<Image style={{alignSelf: 'flex-end', height: 20, width: 116}} source={require('../images/menulogobottom.png')} resizeMode={'contain'} />
</View>
);
}

View File

@@ -58,7 +58,7 @@ class Resistor extends Component {
value={data.value || ''}
onChangeText={(x) => updatevalue(x)}
style={Object.assign({}, styles.resistorinput, {
borderColor: data.valid ? 'grey' : 'red',
borderColor: data.valid ? '#3f7d20' : 'red',
})}
underlineColorAndroid={'transparent'}
autoCorrect={false}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB