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

Android Profile Screen Alighment #3

Open
triloconinja opened this issue Feb 28, 2020 · 3 comments
Open

Android Profile Screen Alighment #3

triloconinja opened this issue Feb 28, 2020 · 3 comments

Comments

@triloconinja
Copy link

The profile screen is misaligned
Screenshot_20200229-062947
and you cant scroll in android google pixel

@affektde
Copy link

We have the same behaviour on Android devices. Scrolling is not possible for profile longer profile texts.

@djeter
Copy link

djeter commented Sep 17, 2021

  • In the styles section, change the profileContainer zIndex to -1.
  • Change the marginTop to 50 on line 146 (The About Me section)
  • Move the entire Social Media Block below the closing ImageBackground tag.

@djeter
Copy link

djeter commented Sep 17, 2021

You will also find that the notification bulb in the header does not work. To fix it:

  • Change line 16 in the Header file from

    <TouchableOpacity
    style={[styles.button, style]}
    onPress={() => navigation.navigate('Notifications')}

to

<TouchableOpacity
style={[styles.button, style]}
onPress={() => navigation.navigate('PersonalNotifications')}

  • In the HomeStack function on the Screens.js file, add this Stack.Screen:

    <Stack.Screen
      name="PersonalNotifications"
      component={PersonalNotifications}
      options={{
        header: ({ navigation, scene }) => (
          <Header
            title="Personal Notifications"
            back
            navigation={navigation}
            scene={scene}
          />
        ),
        cardStyle: { backgroundColor: "#FFFFFF" }
      }}
    />
    

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

No branches or pull requests

3 participants