FORUMS
Remove All Ads from XDA
Win Honor 9 Lite

Add Clear All Recents Button on Stock 5.0.1

343 posts
Thanks Meter: 298
 
By garynych, Senior Member on 17th January 2015, 01:39 PM
Post Reply Email Thread

mod for odex/deodex stock 5.0.1
install from recovery



thanks for help noskojv from 4pda

Bug:
if the erase button has disappeared,rotate to portrait and back,a button will appear again
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-01-17-16-21-15.jpg
Views:	3676
Size:	156.4 KB
ID:	3119619   Click image for larger version

Name:	Screenshot_2015-01-17-16-21-20.jpg
Views:	3680
Size:	140.0 KB
ID:	3119620  
Attached Files
File Type: zip ClearAllRecentsButton_501.zip - [Click for QR Code] (2.20 MB, 7518 views)
The Following 13 Users Say Thank You to garynych For This Useful Post: [ View ] Gift garynych Ad-Free
 
 
17th January 2015, 01:42 PM |#2  
suerya46's Avatar
Member
Thanks Meter: 3
 
More
How to edit xml

Sent from my Nexus 5 using Xparent BlueTapatalk 2
17th January 2015, 02:39 PM |#3  
garynych's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 298
 
More
Quote:
Originally Posted by suerya46

How to edit xml

Sent from my Nexus 5 using Xparent BlueTapatalk 2

APKTOOL
http://forum.xda-developers.com/show...7&postcount=57
but for 5.x need new apktool
or use like this utility Batch ApkTool http://bursoft-portable.blogspot.ru/p/blog-page_23.html
17th January 2015, 03:11 PM |#4  
suerya46's Avatar
Member
Thanks Meter: 3
 
More
How to edit add recent apps

Sent from my Nexus 5 using Xparent BlueTapatalk 2
17th January 2015, 03:44 PM |#5  
garynych's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 298
 
More
Quote:
Originally Posted by suerya46

How to edit add recent apps

Sent from my Nexus 5 using Xparent BlueTapatalk 2

decompile my mod

this for stock

\smali\com\android\systemui\recents
RecentsActivity.smali and RecentsConfiguration.smali

and from \smali\com\android\systemui\recents\views
RecentsView$DismissAll.smali
RecentsView.smali
TaskStackView$TaskStackViewCallbacks.smali
TaskStackView.smali
TaskView$DismissLongPressed.smali
TaskView$TaskViewCallbacks.smali
TaskView.smali

and from \res\layout
recents.xml


if rom no stock, check all id in these files with your public.xml and from my mod
The Following User Says Thank You to garynych For This Useful Post: [ View ] Gift garynych Ad-Free
17th January 2015, 10:36 PM |#6  
suerya46's Avatar
Member
Thanks Meter: 3
 
More
•°•♡ⓣⓗⓐⓝⓚⓢ♡ •°• bro

Sent from my Nexus 5 using Xparent BlueTapatalk 2
The Following User Says Thank You to suerya46 For This Useful Post: [ View ] Gift suerya46 Ad-Free
18th January 2015, 12:17 PM |#7  
Member
Thanks Meter: 12
 
More
Works great. Except button appears only in portrait mode, no button in landscape mode.

May I ask how did you remove persistant Google Search bar from Recents?
I use Nova Prime and it's able to remove it only from homescreen.
18th January 2015, 01:47 PM |#8  
garynych's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 298
 
More
Quote:
Originally Posted by eqagunn

May I ask how did you remove persistant Google Search bar from Recents?

its after install this mod
18th January 2015, 01:54 PM |#9  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by garynych

its after install this mod

Hmm. It's still there after install on my device.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-01-18-14-50-19.png
Views:	1600
Size:	177.0 KB
ID:	3121307  
18th January 2015, 03:02 PM |#10  
garynych's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 298
 
More
Quote:
Originally Posted by eqagunn

Hmm. It's still there after install on my device.

maybe try wipe ?

or try this version
here is my what I use,as you can see nothing and never was ...
this is a slightly modified version than above

PS by the way,I have a system deodex
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-01-18-17-49-38.jpg
Views:	1646
Size:	123.2 KB
ID:	3121416  
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (3.56 MB, 370 views)
The Following User Says Thank You to garynych For This Useful Post: [ View ] Gift garynych Ad-Free
18th January 2015, 04:09 PM |#11  
Member
Thanks Meter: 15
 
More
Hi, could u please put the clear all button at bottom left so that its convinient to press it ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes