Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][Xposed] Statusbar Scroll to Top

OP MohammadAG

14th January 2014, 06:02 PM   |  #1  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,199
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Requires Xposed Framework!

This module allows you to tap the status bar to scroll (smoothly, at least that's what the API says) to the top of lists.

This isn't compatible with all lists in this first version. Chrome for example isn't compatible, or some manufacturer lists (like the Contacts app in TouchWiz).

If this is patented by a fruit-based company, it'll most likely get a C&D, so keep that in mind when you look forward to updates :P

Demo:
Video: https://www.youtube.com/watch?v=e6-sOWhwY0g
Video as GIF, FWIW, http://i.imgur.com/vNBTbQs.gif

Known bugs:
  • Manufacturer specific lists and some other custom scrollers (e.g Chrome) aren't supported yet.

Compatibility:
4.0 - 4.4 probably, I really haven't checked the source code, tested on Sony's 4.3.

Source:
The mod is open source: https://github.com/MohammadAG/Xposed...-Scroll-To-Top
You may NOT distribute this app on the Play Store, paid or free.

Download:
http://repo.xposed.info/module/com.m...barscrolltotop

Inspired by:
Support development:
If you found this mod useful, consider donating with PayPal.
Last edited by MohammadAG; 7th May 2014 at 12:15 AM.
The Following 128 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
14th January 2014, 06:40 PM   |  #2  
fsi09's Avatar
Senior Member
Thanks Meter: 56
 
150 posts
Join Date:Joined: Nov 2012
More
Very nice module, work great on LG G2 D802 Android 4.2.2 flex rom
14th January 2014, 07:29 PM   |  #3  
polobunny's Avatar
Senior Member
Flag Montreal
Thanks Meter: 2,480
 
6,180 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by MohammadAG

*snip*

Man, I'm about to have a direct subscription to the threads you create. Do you ever stop for a moment without coding useful things??

To hell with iFruit.
14th January 2014, 07:34 PM   |  #4  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,199
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by polobunny

Man, I'm about to have a direct subscription to the threads you create. Do you ever stop for a moment without coding useful things??

To hell with iFruit.

I do, this took about 2 hours, inspired by a post on Reddit with Android's pros and cons, the code implementation hit me while I was driving home

Sent from my C6903 using Tapatalk
The Following 12 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
14th January 2014, 07:36 PM   |  #5  
polobunny's Avatar
Senior Member
Flag Montreal
Thanks Meter: 2,480
 
6,180 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by MohammadAG

I do, this took about 2 hours, inspired by a post on Reddit with Android's pros and cons, the code implementation hit me while I was driving home

Sent from my C6903 using Tapatalk

Yeah I don't code much anymore but that's what used to be the biggest roadblock in most complicated projects I would start. Figure out a way to do it effectively.

Glad it hit you!
The Following User Says Thank You to polobunny For This Useful Post: [ View ]
14th January 2014, 08:05 PM   |  #6  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,793
 
24,958 posts
Join Date:Joined: Aug 2010
More
Nice. Works well in tapatalk. Thanks!

-----------------------
Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
14th January 2014, 08:41 PM   |  #7  
lyndonguti's Avatar
Recognized Contributor
Milano
Thanks Meter: 2,103
 
2,729 posts
Join Date:Joined: Sep 2011
Donate to Me
Wow what an idea working great on xperia z4.3

Sent from my C6603 using Tapatalk
14th January 2014, 08:53 PM   |  #8  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,199
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by lyndonguti

Wow what an idea working great on xperia z4.3

Sent from my C6603 using Tapatalk

It's Apple's not mine
That's stock behavior on iOS.
The Following User Says Thank You to MohammadAG For This Useful Post: [ View ]
14th January 2014, 09:30 PM   |  #9  
polobunny's Avatar
Senior Member
Flag Montreal
Thanks Meter: 2,480
 
6,180 posts
Join Date:Joined: Oct 2011
More
A bit far fetched, but do you believe it would be possible to add support for more than the standard list? Such as webview?
Since it seems a lot of apps are actually just frontends for a page in webview, plus a lot of browsers using webview, I imagine this could be the next target of your thinkering and would cover most cases. It would be great to be able to scroll to top in a browser too.
14th January 2014, 09:47 PM   |  #10  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,199
 
1,079 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by polobunny

A bit far fetched, but do you believe it would be possible to add support for more than the standard list? Such as webview?
Since it seems a lot of apps are actually just frontends for a page in webview, plus a lot of browsers using webview, I imagine this could be the next target of your thinkering and would cover most cases. It would be great to be able to scroll to top in a browser too.

I'm looking into Chrome, they supposedly use some kind of standard scroller, since they have the blue overscroll indicator.

The Following User Says Thank You to MohammadAG For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes