react-native-form-generator
react-native-form-generator copied to clipboard
Android form looks broken (iOS works)
iOS:
Android:
RN 0.30.0 / react-native-form-generator@^0.9.6
The form is pretty much a few simple links:
<Form>
<Separator ... />
<LinkField .../>
</Form>
What am I missing?
Yes that's actually the theme for ios.. Can you post your code? Thanks
On Fri, Aug 19, 2016, 2:27 PM Ivan Akimov [email protected] wrote:
iOS:
[image: ios] https://cloud.githubusercontent.com/assets/1404596/17820025/91a6e5a8-65ff-11e6-8461-279a443f9440.png
Android:
[image: android] https://cloud.githubusercontent.com/assets/1404596/17820029/9587ed48-65ff-11e6-8f5b-256d4f77d4dd.png
RN 0.30.0 / react-native-form-generator@^0.9.6
The form is pretty much a few simple links:
What am I missing?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MichaelCereda/react-native-form-generator/issues/52, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGjfmqm9DLilbkssPHriEDJjS7_HPHjks5qhfWsgaJpZM4Jouye .
Michael Cereda http://michaelcereda.com
Thanks for the quick reply. Here's the edited version:
...
const styles = StyleSheet.create({
form: {
backgroundColor: '#faf9f7',
flex: 1
},
container: {
borderBottomColor: '#ddd'
}
});
...
return (
<View style={styles.form}>
<Form>
<Separator label="Support" containerStyle={styles.container} />
<LinkField label="Send Feedback" onPress={...} containerStyle={styles.container} />
<Separator label="Legal" containerStyle={styles.container} />
<LinkField label="Terms of Service" onPress={...} containerStyle={styles.container} />
<LinkField label="Privacy Policy" onPress={...} containerStyle={styles.container} />
</Form>
</View>
);
...
I'm going to run some tests later today. Thank you
Yeah, I'm struggling with this library on Android. Could use more style options in the mean time. For example SwitchField labels are not centered as the first comment shows.
I'm about to release final fix on android. I apologize for the delay but I have been very busy lately.
On Fri, Aug 26, 2016, 2:11 PM Cameron Moss [email protected] wrote:
Yeah, I'm struggling with this library on Android. Could use more style options in the mean time. For example SwitchField labels are not centered as the first comment shows.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/MichaelCereda/react-native-form-generator/issues/52#issuecomment-242809343, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGjfkZh_zaN8oovA7phsdqtT1wCt-F_ks5qjyv3gaJpZM4Jouye .
Michael Cereda http://michaelcereda.com
great, yeah, I'm just noticing the props on Switch for styles. That should get me what I need.
Yes there are a lot of style props.. Check also the example.
On Fri, Aug 26, 2016, 3:01 PM Cameron Moss [email protected] wrote:
great, yeah, I'm just noticing the props on Switch for styles. That should get me what I need.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/MichaelCereda/react-native-form-generator/issues/52#issuecomment-242822921, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGjfoZ6bKvoEQ1pHVNNnHXRKXuzAU9zks5qjzf8gaJpZM4Jouye .
Michael Cereda http://michaelcereda.com
@MichaelCereda any updates on this?
I'm working on it today.. I'll text here soon.
On Wed, Aug 31, 2016, 2:47 PM Ivan Akimov [email protected] wrote:
@MichaelCereda https://github.com/MichaelCereda any updates on this?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MichaelCereda/react-native-form-generator/issues/52#issuecomment-243862217, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGjfhkEsWdQOIyeml6Zex-NYrti4YkEks5qlcxNgaJpZM4Jouye .
Michael Cereda http://michaelcereda.com