čtvrtek 5. července 2012

Search button in Jelly Bean navigation bar

1) added search button according to http://forum.xda-developers.com/showthread.php?t=1743979
2) builded new SystemUI
3) decompiled that new SystemUI so I have search button id hex value builded into (0x_______ in ids.xml and public.xml)
4) looked at id hex value of recent button and searched for it in smali files
5) found the part where buttons are being showed and hided
6) added getSearchButton method according to getHomeMethod
7) added similar code for showing and hiding button ... there is condition to set visibility of homebutton (or recent I dont remember which I used) so I am basically setting the same value to the visibility of Search button


Download for [ROM][GSM] Jellybean 4.1 JRN84D: Stock Rooted Busybox Deodexed - v2 (6/29/12): https://dl.dropbox.com/u/16217558/navbar.zip

Žádné komentáře: