Put it in status_bar_expanded.xml
I have already tried that....
If you wanna zip up and upload your layout folder I can take a look.
Tried But Having This Error
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[64,15] no viable alternative at input 'now'
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[72,15] no viable alternative at input 'next'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/potato/mariozawa/statusbar/CPUSpy$1.smali
Tried But Having This Error
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[64,15] no viable alternative at input 'now'
..\3-Out\SystemUI.apk\smali\com\potato\mariozawa\statusbar\CPUSpy$1.smali[72,15] no viable alternative at input 'next'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/potato/mariozawa/statusbar/CPUSpy$1.smali
Use apktool 1.5.2 instead of 2.0.
<potato.mariozawa.statusbar.CPUSpy android:textColor="#ffffff" android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
Real-time CPU ussage updated every second
Sent from my GT-I9300 using Tapatalk
Nice work. Gonna do this up when I get home.
EDIT: Easy as pie. Would like to point out that you can also place this in the dropdown header (I did as my status bar is pretty full). Just add it to the last linear layout in status_bar_expanded_header.xml
EDIT AGAIN: looks even better in status_bar_expanded.xml
Sent from my Galaxy Note II
Yes you need.:good:
Neat guide. Just one question before I start, is the CPU frequency just the max clock setting or does it show cpu load?
Sent from my Galaxy Note II