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

Homescreen Added #8

Open
wants to merge 26 commits into
base: dev
Choose a base branch
from
Open

Homescreen Added #8

wants to merge 26 commits into from

Conversation

geekabhinav007
Copy link
Collaborator

No description provided.

];

return (

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap whole content into a View


return (

<ImageBackground
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ImageBackground should be inside the scrollView

source={require('../assets/background.png')}
style={styles.backgroundImage}
>
<ScrollView style={styles.container}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use view here
also wrap section into view like wrap content from line no 34 to 54 and then from 55 to 70 and then 71 to 85

borderStyle: 'solid',
},
backgroundImage: {
flex: 1,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to use flex

},
container: {
flex: 1,

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use justify content to adjust add content

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 this pull request may close these issues.

3 participants