• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Center clock mod for CM7?

Just wondering if there was any way to put the clock in the center of the statusbar for cm7, thanks guys! you rock!

We were asked about this before and I didn't think it would be so easy. I have a tester building right now to see what my change actually does. Sorry that I didn't think it would work the way I thought it would.

EDIT: I made two changes tonight and they didn't work. I'll have to work on this another day.

In case someone else wants to look into it: https://github.com/MTDEV-CM7/frameworks/blob/cm7/base/packages/SystemUI/res/layout/status_bar.xml

I changed the com.android.systemui.statusbar.IconMerger android:id="@+id/notificationIcons" from
android:layout_alignParentLeft="true" to
android:layout_centerInParent and tried to move the clock part to the top after the
LinearLayout android:id="@+id/statusIcons
 
Sure. Really easy thanks to Zdunex25 and his patcher, along with Taine0 for the idea.


There's also a JB status bar for CM7. When I dig my triumph up, ill give it a go. Center clock, I can do with no problem.
 
Sure. Really easy thanks to Zdunex25 and his patcher, along with Taine0 for the idea.


There's also a JB status bar for CM7. When I dig my triumph up, ill give it a go. Center clock, I can do with no problem.

Are you messing with the source? I was trying to make the changes before the ROM was built. If you know, could you help me as the system has been resisting me?
 
Just SystemUI.

Post built, right? I'm hoping that I could make this an option in the settings menu. The first thing is I would have to be able to build it out right. That, and I need time:D. It's amazing how busy I can get with my life. I think I spent about half an hour on the computer yesterday. I didn't even kick on the DEV rig.
 
Back
Top Bottom