FORUMS
Remove All Ads from XDA

[TUT][JB] HOW TO THEME SystemUI.apk for TOTALLY newbie!

720 posts
Thanks Meter: 1,529
 
By joehanh88, Inactive Recognized Themer on 23rd March 2013, 12:11 PM
Post Reply Email Thread
24th March 2013, 01:38 PM |#21  
Koulis2000's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 1,209
 
Donate to Me
More
Quote:

Quote:
5. HOW TO MAKE CENTER CLOCK?


res/layout

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            <ImageView android:id="@id/doNotDisturbIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_dnd" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
        </LinearLayout>
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff99FF00" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
        <LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/right_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
            <LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
            <LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
                <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
                <TextView android:textSize="9.0dip" android:textColor="#ff99FF00" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
                <ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
edit the xml just like mine

res/layout/tw_status_bar.xml as I remember.

Make sure to fix this on the post.
The Following User Says Thank You to Koulis2000 For This Useful Post: [ View ] Gift Koulis2000 Ad-Free
24th March 2013, 01:55 PM |#22  
joehanh88's Avatar
OP Inactive Recognized Themer
Flag Kuala Lumpur
Thanks Meter: 1,529
 
Donate to Me
More
Quote:
Originally Posted by Koulis2000

res/layout/tw_status_bar.xml as I remember.

Make sure to fix this on the post.

post fixed
24th March 2013, 04:31 PM |#23  
tahapapun's Avatar
Member
Flag Kota di Indonesia
Thanks Meter: 75
 
More
nice guide dude
The Following User Says Thank You to tahapapun For This Useful Post: [ View ] Gift tahapapun Ad-Free
24th March 2013, 05:22 PM |#24  
joehanh88's Avatar
OP Inactive Recognized Themer
Flag Kuala Lumpur
Thanks Meter: 1,529
 
Donate to Me
More
Quote:
Originally Posted by tahapapun

nice guide dude

thanks
if you got something more that i can put it inside, let me know..
maybe you know something that i didnt know
25th March 2013, 12:50 PM |#25  
Senior Member
Flag Solt
Thanks Meter: 10
 
More
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!
Nice guide! I would remove the notification toggle button text and change the light color. Can you help me what should change?

Tapatalk 2-vel küldve az én GT-I9070-ről
25th March 2013, 01:00 PM |#26  
bobfrantic's Avatar
Senior Member
Thanks Meter: 1,107
 
More
Quote:
Originally Posted by Logen91

Nice guide! I would remove the notification toggle button text and change the light color. Can you help me what should change?

Tapatalk 2-vel küldve az én GT-I9070-ről

+1 also to close the gap between the toggles and brightness slider
25th March 2013, 01:08 PM |#27  
xxScoobxx's Avatar
Senior Member
Flag adelphi
Thanks Meter: 25
 
More
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!
Awesome guide bro!

Sent from my SAMSUNG-SGH-I747
The Following User Says Thank You to xxScoobxx For This Useful Post: [ View ] Gift xxScoobxx Ad-Free
25th March 2013, 01:23 PM |#28  
joehanh88's Avatar
OP Inactive Recognized Themer
Flag Kuala Lumpur
Thanks Meter: 1,529
 
Donate to Me
More
Quote:
Originally Posted by Logen91

Nice guide! I would remove the notification toggle button text and change the light color. Can you help me what should change?

Tapatalk 2-vel küldve az én GT-I9070-ről

Quote:
Originally Posted by bobfrantic

+1 also to close the gap between the toggles and brightness slider

yea..sure..i'll add it in my next update

Quote:
Originally Posted by xxScoobxx

Awesome guide bro!

Sent from my SAMSUNG-SGH-I747

thanks.. just sharing what i know
The Following User Says Thank You to joehanh88 For This Useful Post: [ View ] Gift joehanh88 Ad-Free
25th March 2013, 01:28 PM |#29  
Senior Member
Flag Solt
Thanks Meter: 10
 
More
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!
Quote:
Originally Posted by joehanh88

yea..sure..i'll add it in my next update

When will you update?


Tapatalk 2-vel küldve az én GT-I9070-ről
25th March 2013, 02:14 PM |#30  
joehanh88's Avatar
OP Inactive Recognized Themer
Flag Kuala Lumpur
Thanks Meter: 1,529
 
Donate to Me
More
Quote:
Originally Posted by Logen91

When will you update?


Tapatalk 2-vel küldve az én GT-I9070-ről

UPDATED!

TUT 11 added.




PS. : thanks to Koulis2000 because he teach me that thing actually
The Following User Says Thank You to joehanh88 For This Useful Post: [ View ] Gift joehanh88 Ad-Free
25th March 2013, 02:15 PM |#31  
Razvan's Avatar
Retired Forum Moderator
Thanks Meter: 4,438
 
More
Guys, he has some exams, let him learn to promote, or ...
The Following User Says Thank You to Razvan For This Useful Post: [ View ] Gift Razvan Ad-Free
Post Reply Subscribe to Thread

Tags
joehanh88, theme, tut

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes