Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sticky accessory problem in My android device #7

Closed
uaround-jisu opened this issue Aug 26, 2020 · 0 comments · May be fixed by #8
Closed

sticky accessory problem in My android device #7

uaround-jisu opened this issue Aug 26, 2020 · 0 comments · May be fixed by #8

Comments

@uaround-jisu
Copy link

here is my ios, android screen.

I have some problem in android.
I think it goes up twice as high as the keyboard. (android)
what can i do?? please help me T.T

here is my code

import React from 'react';
import {
View,
Keyboard,
TextInput,
StyleSheet,
SafeAreaView
} from 'react-native';

import CustomIcon from '../components/CustomIcon';

import Icon from 'react-native-vector-icons/FontAwesome';
import KeyboardAccessory from 'react-native-sticky-keyboard-accessory';

export default class InfromScreen extends React.Component {
render() {
return (






<Icon
style={styles.keyboardAccessoryItem}
name='angle-down'
size={30}
onPress={() => Keyboard.dismiss()} />




);
}
}

const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff'
},
wrapper: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center'
},
keyboardAccessoryContainer: {
flexDirection: 'row',
height: 40,
paddingHorizontal: 20,
alignItems: 'center'
},
keyboardAccessoryItem: {
color: '#979797',
marginLeft: 10
},
input: {
flex: 1,
height: 30,
paddingHorizontal: 10,
borderWidth: 1,
borderRadius: 5,
borderColor: '#ddd',
backgroundColor: '#fff'
},
});

스크린샷 2020-08-26 오후 7 39 27
스크린샷 2020-08-26 오후 7 39 50
스크린샷 2020-08-26 오후 7 39 57
스크린샷 2020-08-26 오후 7 40 05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant