(GUIDE)(MOD)Paged Lockscreen like on 4.2+ (Cool)(GB+)
How to add PagedView to lockscreen.
As most of you all know the android 4.2+ has implemented an awesome new Lockscreen on wich u can swipe pages to show widgets and such.
Currently i have managed to create working pageview but for now without Widgets.
However you can add some custom stuff though .
i had added DigitalClok -> AnalogClock -> Device Info.
but you would be able to change it like what you want as you can add unlimited LinearLayouts for adding new views.
Basicly this mod is very easy to add.
What is inside the resources.zip ?
SwipeLock Smalis for Framework.jar
Basicly what you would need to do is:
Download Resources Attachement.
Decompile you’re framework.jar
Go to the extract smali folder from the resources.zip and copy the smali folder to the smali folder of you’re framework.jar.
Now we are going to add it to the frameworks location/allocate the text.
Find a lockscreen layout to you’re likes. (“zzz_keyguard_screen_clockwidget.xml” <- on this one i have NOT tested as in my test app when i used a Lockscreen overlay i couldnt swipe the pages so its likely this one not works but on the GB ones it does
so instead i used “keyguard_screen_tab_unlock.xml” ofcourse you would be able to add this in other lock layouts aswell.
Open the layout you wanted and simply add this line above the clock layout or where you want
I put this code above my clock code ( i setted minheight to 300.0dip so u would be able to swipe it at this height)
Try it without Modding?
Yes you can
In the Screenshots i had used HoloLocker as an example
So you can try it on you"re phone aswell
Note: the minheight might be to much for low res phones so i am sorry if the layout is cut.
Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more
18 Sep 2014
By Tomek Kondrat
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?