I dont think that its safe, coz the files in source code are much different, than in decompiled apk
But of course u can try, but for transparent pulldown, u must mofify the decmpiled .smali file, not the file in source code, modifying it, will propably get u stuck while compiling
And the file u must edit, will be PhoneStatusBar$FastColorDrawable.smali, not PhoneStatusBar.java: because it is java file, and u cannot modify it, like .smali file, those files are completely different thing! But of course u can try, but I recommend to modify files after compiling.
Got it working! First of all, I compared your status_bar.xml file with the one in the sources: the only modification I had to do was a search and replace in your status_bar.xml: @id to @+id. After that, the two xml files looked equal, apart from the center clock modification of course.
Now, the pulldown:
First of all, $ in java (smali is like compiled java code) means a subclass included in a class, and this subclass can only be accessed from the parent class, so it's pretty safe to modify it. So, PhoneStatusBar$FastColorDrawable means that I had to look for PhoneStatusBar.java, and inside it, for another class (FastColorDrawable). So, in this file, this is the line that calls that class, around at line 450-500:
And the subclass:
I modified it to be just a tiny bit faster too, by eliminating the mColor and color variables. For this, I had to modify the constructor too, so the new code that calls it is:
And the modified class:
After that, I compiled and installed it (while praying
), and, guess what? Everythings fine, the result looks just like your screenshot! Well, I think I'll increase 68 to something like A0, because I think it's too transparent now. Thanks for your help