Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,073 Members 41,196 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][Xposed] Statusbar Scroll to Top

Tip us?
 
MohammadAG
Old
(Last edited by MohammadAG; 6th May 2014 at 11:15 PM.)
#1  
Recognized Developer - OP
Thanks Meter 4649
Posts: 1,059
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Default [MOD][Xposed] Statusbar Scroll to Top

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.
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls
The Following 121 Users Say Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
 
fsi09
Old
#2  
fsi09's Avatar
Senior Member
Thanks Meter 51
Posts: 145
Join Date: Nov 2012
Very nice module, work great on LG G2 D802 Android 4.2.2 flex rom
 
polobunny
Old
#3  
polobunny's Avatar
Senior Member
Thanks Meter 2350
Posts: 5,840
Join Date: Oct 2011
Location: Montreal
Quote:
Originally Posted by MohammadAG View Post
*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.
Please press THANKS if someone helps you!

My current configuration:
 

Device: Samsung Galaxy S3 SGH-i747M
ROM: cm-11-20140720-NIGHTLY-d2lte
Kernel: Stock/KT747
Baseband: I747MVLDMF1
Bootloader: I747MVLDMF1
Governor: Ktoonservative


Older device: Nexus S i9020A
 
MohammadAG
Old
#4  
Recognized Developer - OP
Thanks Meter 4649
Posts: 1,059
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Quote:
Originally Posted by polobunny View Post
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
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls
The Following 12 Users Say Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
 
polobunny
Old
#5  
polobunny's Avatar
Senior Member
Thanks Meter 2350
Posts: 5,840
Join Date: Oct 2011
Location: Montreal
Quote:
Originally Posted by MohammadAG View Post
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!
Please press THANKS if someone helps you!

My current configuration:
 

Device: Samsung Galaxy S3 SGH-i747M
ROM: cm-11-20140720-NIGHTLY-d2lte
Kernel: Stock/KT747
Baseband: I747MVLDMF1
Bootloader: I747MVLDMF1
Governor: Ktoonservative


Older device: Nexus S i9020A
The Following User Says Thank You to polobunny For This Useful Post: [ Click to Expand ]
 
rootSU
Old
#6  
rootSU's Avatar
Senior Member
Thanks Meter 9793
Posts: 20,957
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
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
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
lyndonguti
Old
#7  
lyndonguti's Avatar
Recognized Contributor
Thanks Meter 2102
Posts: 2,729
Join Date: Sep 2011
Location: Milano

 
DONATE TO ME
Wow what an idea working great on xperia z4.3

Sent from my C6603 using Tapatalk
PrEsS TNX OR BUY ME A BEER If I HeLp yOu
and appreciate my work u can make me happy

 
MohammadAG
Old
#8  
Recognized Developer - OP
Thanks Meter 4649
Posts: 1,059
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Quote:
Originally Posted by lyndonguti View Post
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.
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls
The Following User Says Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
 
polobunny
Old
#9  
polobunny's Avatar
Senior Member
Thanks Meter 2350
Posts: 5,840
Join Date: Oct 2011
Location: Montreal
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.
Please press THANKS if someone helps you!

My current configuration:
 

Device: Samsung Galaxy S3 SGH-i747M
ROM: cm-11-20140720-NIGHTLY-d2lte
Kernel: Stock/KT747
Baseband: I747MVLDMF1
Bootloader: I747MVLDMF1
Governor: Ktoonservative


Older device: Nexus S i9020A
 
MohammadAG
Old
#10  
Recognized Developer - OP
Thanks Meter 4649
Posts: 1,059
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Quote:
Originally Posted by polobunny View Post
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.
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls

The Following User Says Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes