Skip to content

Commit

Permalink
Fix example text inputs for android
Browse files Browse the repository at this point in the history
  • Loading branch information
ardaogulcan committed Mar 14, 2018
1 parent 3c1917d commit c566cd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/screens/NavigationViewExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ class ViewExample extends Component {
<TextInput
style={styles.textInput}
ref="1"
underlineColorAndroid="transparent"
placeholder="Dummy Text Input"
blurOnSubmit={false}
onFocus={this.handleFocus.bind(this, 1)}
/>
<TextInput
style={styles.textInput}
ref="2"
underlineColorAndroid="transparent"
keyboardType="email-address"
placeholder="Dummy Text Input Email"
blurOnSubmit={false}
Expand All @@ -80,6 +82,7 @@ class ViewExample extends Component {
<TextInput
style={styles.textInput}
ref="3"
underlineColorAndroid="transparent"
keyboardType="numeric"
placeholder="Dummy Text Input Numeric"
blurOnSubmit={false}
Expand Down
2 changes: 2 additions & 0 deletions example/screens/ViewExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class ViewExample extends Component {
<KeyboardAccessoryView alwaysVisible={true}>
<View style={styles.textInputView}>
<TextInput
underlineColorAndroid="transparent"
style={styles.textInput}
multiline={true} />
<Button
Expand Down Expand Up @@ -55,6 +56,7 @@ const styles = StyleSheet.create({
borderColor: '#CCC',
padding: 10,
fontSize: 16,
marginRight: 10,
textAlignVertical: 'top'
},
textInputButton: {
Expand Down

0 comments on commit c566cd8

Please sign in to comment.