stat_sys_battery.xml and stat_sys_battery_charge.xml from \res\drawable and make sure you have matching battery files for it before compiling.
You can grab working versions from mine.
now for the fun part, since you're backed up and have a backup of the SystemUI.apk file....
To put the clock back, you'll want to replace MY file here with a copy from the original:
SystemUI/res/layout and find tw_status_bar.xml
or if you want to jack with the actual data...
Original line will look something like this
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:gravity="left|center" android:id="@id/clock" androidpaddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
Change that entire line to this below:
<com.android.systemui.statusbar.policy.Clock android:textSize="0.0dip" android:textColor="#ff959595" android:gravity="left|center" android:id="@id/clock" androidpaddingLeft="0.0dip" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" android:includeFontPadding="false" />
That's the CLOCK stuff....
If all you're doing is changing the clock, after you've replaced my file recompile and go....
Ooops, sorry. I edited my zip file.
It's one of those things I never use so I wipe it off. I use gmail so don't bother keeping the other on there. Now you see why I re-iterated that you have a current NANDROID? People make mistakes, and I'm no professional DEV!!!!!
However, this is a GREAT LESSON for everyone. When you d/l someone's stuff, instead of blindly flashing it, glance at the script to see what it's going to do BEHIND the scenes. This was accidental but someone COULD wipe everything off or install something else that you weren't expecting.
A quick fix in this case instead of restore would have been to put the 2 files back into the zip, remove the updater line and reflash just the zip.
Again, soo sorry about that.
|Thread Tools||Search this Thread|