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

list_header gravity issue #11

Open
moujib85 opened this issue Dec 18, 2014 · 5 comments
Open

list_header gravity issue #11

moujib85 opened this issue Dec 18, 2014 · 5 comments

Comments

@moujib85
Copy link

Hi ,
This lib is awesome and I really thank the people who worked on it .
I have an issue with the position (gravity) of the list's header ,
I'm using the SuperSaiyanScrollView on my app in a Fragment ,the issue is that when I show the list for the first time the list's header is placed in the center like it should(Horizontally and vertically) but when I use the fast scroll the first header changes it's gravity and is pinned left ! Only the first one ...

Here is my list_header.xml

@nolanlawson
Copy link
Owner

Hm, never noticed that myself. Do you have screenshots, or can you provide more details about what phone and Android version you're using?

Also as a failsafe, you can provide your own custom adapter for the list headers, meaning you can provide your own layouts. :)

@moujib85
Copy link
Author

Good evening Nolan ,
Thank you for your reply , amazing work in this lib . I love it !

Screenshots below , the thing is that I noticed this issue only when the view is a fragment ..

Gravity OK :
http://hpics.li/06a1e70

Gravity NOK only on the first header of the list
http://hpics.li/5f7d64b

@nolanlawson
Copy link
Owner

I think maybe you need to set the gravity on the parent view/fragment/somewhere. Not really sure. :/

@moujib85
Copy link
Author

Ok , I already tried this , but what makes me crazy is that only the first element of the list has this strange position change , all the 8 other sections are placed correctly (center)
Thank you Nolan for your time , Can I send you an apk of the app privately ?

@nolanlawson
Copy link
Owner

Sorry, but I don't really have the time to debug app issues... please just compare your own app with the sample apps and see what you might be doing differently that is causing this issue.

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

2 participants