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

Add scrollbar to QuranActivity #1549

Closed

Conversation

ismail-s
Copy link
Contributor

Fixes #1370.

Originally, I put effort into adding a popup that appears when you scroll. But choosing the text to display in the popup wasn't 100% straightforward (but that was doable). But then the different heights of views in the recycler view and the heights of at least one view type depending on the contents meant I got rid of the popup.

Note that this PR adds a third-party dependency, but hopefully this is ok. Debug build is ~0.6MB larger on my phone, I haven't checked the release build.

@ahmedre
Copy link
Contributor

ahmedre commented Mar 1, 2021

salam 3alaikum,
jazakumAllah khairan - this isn't updated since March 2020 - can we either:
a. use the Reddit library here, or
b. do it manually ourselves - like here.

@ahmedre
Copy link
Contributor

ahmedre commented Mar 5, 2021

ah sadly it's minSdk 21 and we're not yet - though hoping to soon in sha' Allah

@ahmedre
Copy link
Contributor

ahmedre commented Mar 5, 2021

jazakumAllah khiaran - merged but switched to using the in built RecyclerView functionality since we're not showing a thumb overlay for now

@ahmedre ahmedre closed this Mar 5, 2021
@ahmedre
Copy link
Contributor

ahmedre commented Mar 5, 2021

see adfe6ad

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.

No scrollbars in QuranActivity
2 participants