Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,298 Members 39,610 Now Online
XDA Developers Android and Mobile Development Forum

Statusbar Help

Tip us?
 
GalKill
Old
#1  
GalKill's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Default Statusbar Help

I'm using statusbar by @marcussmith2626, but the notification icon is break apart :'( Please help sir @marcussmith2626
Attached Thumbnails
Click image for larger version

Name:	Zzzzzz.png
Views:	20
Size:	77.8 KB
ID:	2819572  

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
 
marcussmith2626
Old
(Last edited by marcussmith2626; 27th June 2014 at 07:49 AM.)
#2  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 4,388
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by GalKill View Post
I'm using statusbar by @marcussmith2626, but the notification icon is break apart :'( Please help sir @marcussmith2626
you didnt mention what status bar it was - probably one of my old ones

if stock based rom try making the icon part of status_bar.xml look like

Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
            <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
            <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
            <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
            <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#3  
GalKill's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Quote:
Originally Posted by marcussmith2626 View Post
you didnt mention what status bar it was - probably one of my old ones

if stock based rom try making the icon part of status_bar.xml look like

Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
            <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
            <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
            <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
            <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
Here the statusbar forum.xda-developers.com/showthread.php?p=46863955#post46863955

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
 
marcussmith2626
Old
#4  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 4,388
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by GalKill View Post
Here the statusbar forum.xda-developers.com/showthread.php?p=46863955#post46863955
try changing in status_bar.xml

Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
        <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>

to

Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
		<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>


you will just have to play around with the layout - I dont use stock roms anymore so I cant test things out

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#5  
GalKill's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Quote:
Originally Posted by marcussmith2626 View Post
try changing in status_bar.xml

Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
        <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="25.0dip" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>

to

Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
		<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>


you will just have to play around with the layout - I dont use stock roms anymore so I cant test things out
I'll try it soon, but, can i know what rom are you using right now?

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
 
marcussmith2626
Old
#6  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 4,388
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by GalKill View Post
I'll try it soon, but, can i know what rom are you using right now?
im using biels cm7

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#7  
GalKill's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Quote:
Originally Posted by marcussmith2626 View Post
im using biels cm7
But sir @marcussmith2626 when I turn off my mobile data, I found out that it's no more torn apart and when I turn on my data, it broke again, why?

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
 
marcussmith2626
Old
#8  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2359
Posts: 4,388
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by GalKill View Post
But sir @marcussmith2626 when I turn off my mobile data, I found out that it's no more torn apart and when I turn on my data, it broke again, why?
if you are talking about cm7 then I have no problems with turning my data on and off and it works all the time

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#9  
GalKill's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Quote:
Originally Posted by marcussmith2626 View Post
if you are talking about cm7 then I have no problems with turning my data on and off and it works all the time
still on hyp8 :'(

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes