[GUIDE] How to for Statusbar Icons Layout (Playing with Layout) - Galaxy Y GT-S5360 General

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I just want to share this little Mod I hope someone will learn from this
1. Decompile SystemUI.apk first
2. Find this line on SystemUI.apk\res\layout\statusbar.xml
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
3. Then choose from this Layout
(We only need to Modify the codes inside the Layout with android:id="@id/icons" )
CENTER CLOCK
Code:
[COLOR="Red"]<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">[/COLOR]
<com.android.systemui.statusbar.Clock android:textStyle="normal" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
[COLOR="Red"]</LinearLayout>[/COLOR]
<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:layout_width="wrap_content" 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" />
</LinearLayout>
I just Add a new LinearLayout that will hold our Clock.
CLOCK TO LEFT
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.Clock android:textStyle="normal" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"[COLOR="Red"] android:gravity="left"[/COLOR] android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.IconMerger [COLOR="Red"]android:gravity="left"[/COLOR] android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout [COLOR="Red"]android:gravity="right"[/COLOR] 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" />
</LinearLayout>
I just change their gravity so they will be positioned in their own gravity.
And I also change their orders in this code.
SWITCH
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout [COLOR="Red"]android:gravity="left"[/COLOR] android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.IconMerger [COLOR="Red"]android:gravity="left"[/COLOR] android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" [COLOR="Red"]android:gravity="right"[/COLOR] android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
I just change their gravity so they will be positioned in their own gravity.
And I also change their orders in this code.
LEFT SIDE DRIVE (LSD)
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" [COLOR="Red"]android:gravity="left"[/COLOR] android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout [COLOR="Red"]android:gravity="left"[/COLOR] android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.IconMerger [COLOR="Red"]android:gravity="left"[/COLOR] android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
</LinearLayout>
I just change their gravity so they will be positioned in their own gravity.
And I also change their orders in this code.​
BTW Im on AOSP so if your statusbar.xml didn't have this android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
just copy the style from your statusbar.xml

Helpful guide.! May help somewhere in future if I forget..

Cool
Sent from my GT-S5830i using xda app-developers app

Nice. Will try it ASAP

Status bar Invisible :'(
Ok i m having a problem :'( every time when i m changing statusbar.xml my system ui became invisible after reboot :'( i dont know what to do... and i can't find this
<LinearLayout .........>android:gravity="center" <...........android: orientation="horizontal"
in my xml its like <LinearLayout android: orientation="horizontal".........

Goku Baba said:
Ok i m having a problem :'( every time when i m changing statusbar.xml my system ui became invisible after reboot :'( i dont know what to do... and i can't find this
<LinearLayout .........>android:gravity="center" <...........android: orientation="horizontal"
in my xml its like <LinearLayout android: orientation="horizontal".........
Click to expand...
Click to collapse
Just look for this
android:id="@id/icons"

Sory
oot sir,how to move the notification icon to right below the batery text?tia
Sent from my GT-S5360 using xda app-developers app

psidco said:
Sory
oot sir,how to move the notification icon to right below the batery text?tia
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Like this one?Take a look at this,
http://forum.xda-developers.com/showthread.php?p=44037646#post44037646

Yes.thats awesome.can u tell the trick please
Sent from my GT-S5360 using xda app-developers app

psidco said:
Yes.thats awesome.can u tell the trick please
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Just move your
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" androidrientation="horizontal" android:id="@id/notificationIcons" androidaddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
Click to expand...
Click to collapse
then set the gravity to right

Yes,i try it.but it wont go to right.it always in front of net speed.(see ss).its evo x4.i set net speed to 20 dip.but it wont go right.i hope u know what i mean.sory bad english
Sent from my GT-S5360 using xda app-developers app

This
Sent from my GT-S5360 using xda app-developers app

Can u send me your statusbar.xml sir
Sent from my GT-S5360 using xda app-developers app

very helpful guide

psidco said:
This
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
how can we make the status bar transperent
Sent from my GT-S6102 using Tapatalk 2

ChaTy said:
how can we make the status bar transperent
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
Change hexcode on statusbar.xml to #00000000
Sent from my GT-S5360

hi.. maybe someone can help me.. i have sony xperia ray and i flashed rom named xperia ultimate hd 5.0.1 and changed the language to hebrew with locale select and now my connectivity (data, mobile signal, wifi, battery) icons in the status bar are next to the clock and i want to move these icons to the right side..
screenshot attached

try this later :3
---------- Post added at 04:21 PM ---------- Previous post was at 04:08 PM ----------
nice work :good:

signal and batt icon
Hey author
How to change the position of signal bar to the left batterry to the right imean rearranging each icon one by one side ti side
I tried to edit but always end up two icon on the same side

hokage20xda said:
Hey author
How to change the position of signal bar to the left batterry to the right imean rearranging each icon one by one side ti side
I tried to edit but always end up two icon on the same side
Click to expand...
Click to collapse
Because Signal Icons,Data and Battery icons are in one Layout view only so you cant separate them nor re arrange.:good: .

Related

[MOD] Remove clock from the status bar for ICS

Quick MOD to remove the clock for most ICS ROMS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Must be able to decompile and recompile to do this MOD!
ICS is different then GB when it comes to decompiling some apks mainly the SystemUI.apk because of the classes dex! So do some research first!
Decompile the SystemUI.apk
Then go to res\layout find the tw_status_bar.xml
This MOD was done on using the DARKSIDE.EVOLUTION.3 [6.12.2012] [v1]ROM should be the same with most Samsung ICS ROMS! or damn close!​
Here is the tw_status_bar.xml from the Darkside Rom
The line in red is the clock code
delete that entire line (line 17 in my case, may be different depending on your rom)
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<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:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/ims_icon" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<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="12.0dip" android:textStyle="bold" android:textColor="#ffa6a6a6" android:layout_gravity="bottom|left|center" android:id="@id/battery_text" android:paddingBottom="1.0dip" 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>
[COLOR="Red"]<com.android.systemui.statusbar.policy.Clock android:textSize="19.0dip" android:textColor="#ffa6a6a6" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />[/COLOR]
</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.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Once deleted it should now look like this!
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<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:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/ims_icon" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<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="12.0dip" android:textStyle="bold" android:textColor="#ffa6a6a6" android:layout_gravity="bottom|left|center" android:id="@id/battery_text" android:paddingBottom="1.0dip" 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 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.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Recompile your work and enjoy!
But remember decompiling ICS is different mainly the SystemUI.apk so do your research first!!!!!!!
I attached my apk from the DARKSIDE.EVOLUTION.3 [6.12.2012] [v1] Rom that you can ADB push it to your phone
And I will take this one too
Stupid easy. Thank you!
From my T-Mobile Galaxy S II
Is there anyway to get this flashable?
told you lol
Sent from my SGH-T989 using XDA
troyism said:
Is there anyway to get this flashable?
Click to expand...
Click to collapse
yea but it will still have the stck theme just the clocked removed
Sent from my SGH-T989 using XDA
Hi evilart, thanks for the mod. Btw, do you know if i wanted to add % to the battery indicator on darkside evo3, which xml should i modify thanks in advance
Sent from my SGH-T989 using xda premium
dukeoflove said:
Hi evilart, thanks for the mod. Btw, do you know if i wanted to add % to the battery indicator on darkside evo3, which xml should i modify thanks in advance
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
It's in the SystemUI.apk
res/drawable
stat_sys_battery.xml
stat_sys_battery_charge.xml
Mod those then add you battery images
Sent from my SGH-T989 using XDA
Or if you want take those files and all 204 battery images from my toxic theme and try it out then replace the instead with the ones you want
Sent from my SGH-T989 using XDA
evil1art said:
It's in the SystemUI.apk
res/drawable
stat_sys_battery.xml
stat_sys_battery_charge.xml
Mod those then add you battery images
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
Thank you so much.
Sent from my SGH-T989 using xda premium
One more question. I want to make a white background for the mms apk like the one in darkside ucle2 rom. Can you point me to the right direction. I've been trying to make a rom to my liking. And your help is much appreciated. Thank you
Sent from my SGH-T989 using xda premium
dukeoflove said:
One more question. I want to make a white background for the mms apk like the one in darkside ucle2 rom. Can you point me to the right direction. I've been trying to make a rom to my liking. And your help is much appreciated. Thank you
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
i never messed with it but i can look into it just use the mms.apk from ucle2 it should work
Sent from my SGH-T989 using XDA
hey evil, would you happen to know how to remove the battery icon from the status bar? TIA!
RogueCoyote said:
hey evil, would you happen to know how to remove the battery icon from the status bar? TIA!
Click to expand...
Click to collapse
Yea but why would you do that?
I have a miui style battery bar at the top of my screen so the battery icon in the status bar is a bit redundant. Looks like the battery icon is also set in the tw_status_bar.xml?
RogueCoyote said:
I have a miui style battery bar at the top of my screen so the battery icon in the status bar is a bit redundant. Looks like the battery icon is also set in the tw_status_bar.xml?
Click to expand...
Click to collapse
Just delete line for battery in the tw status bar xml
evil1art said:
Just delete line for battery in the tw status bar xml
Click to expand...
Click to collapse
Do you mean this line:
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Deleting this line results in systemui FC after reboot.
RogueCoyote said:
Do you mean this line:
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Deleting this line results in systemui FC after reboot.
Click to expand...
Click to collapse
Hmmm I would have to try it myself and see when Im not so busy
That would be great. Thanks!

[MOD] Switched SystemUI Status Bar! (4.3 JWR DEODEX) [Useful for left handed :)]

Hello, this is what I did :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For this I modified signal_cluster_view.xml and status_bar.xml files from res/layout folder in SystemUI.apk
signal_cluster_view.xml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="1.5dip" android:layout_marginRight="2.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_centerVertical="true" android:layout_alignParentEnd="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
status_bar.xml:
HTML:
<?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: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" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="0dip" android:layout_weight="1" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center_vertical" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip" android:layout_marginLeft="2.0dip" >
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<ImageView android:id="@id/battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_marginLeft="1.5dip"/>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="right" >
<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" android:gravity="right" />
<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_alignParentEnd="true" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="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="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 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>
I attach SystemUI.apk. Remember that I have tested this with Android 4.3 JWR rom (deodex)
Thanks!! Fantastic! What did u exactly change on those files?
luiseteyo said:
Thanks!! Fantastic! What did u exactly change on those files?
Click to expand...
Click to collapse
well, as first step I changed the order of status_bar layouts....
Then, in order to rearrange system_icon_area (wifi, data...) I modified signal_cluster view...
And as last step changed the gravity of notification_icon_area and system_icon_area layouts and added some margins to these icons in order to have a better look
iOS Style Status Bar?
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
hw0603 said:
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
Click to expand...
Click to collapse
Well, i think so... However you would do a great favor if upload some screenshot, so I can use it as an example
Like This!
Thank you for reply^^
hw0603 said:
Like This!
Thank you for reply^^
Click to expand...
Click to collapse
Well, I could try ut... But i need some time until the weekend, i have to study
bamsbamx said:
Well, I could try ut... But i need some time until the weekend, i have to study
Click to expand...
Click to collapse
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
hw0603 said:
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
bamsbamx said:
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
Click to expand...
Click to collapse
Thanks!
Sent from my Nexus 4 using Tapatalk 4
Please do ios status bar
Sent from my Nexus 4 using xda app-developers app
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
leiros said:
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
Click to expand...
Click to collapse
Just the icons

[DEV][MOD]Minimal Status Bar! Version 1!

Minimal Status Bar​By MR.Volkf​
Introduction
I was get boring with stock look of touchwiz or AOSP style so i decided to make project for Stock 4.1.2 Firmware,
if you have any idea please share and if you have any icon please upload
for CM10.1 please look at this
Minimal Status bar!
ScreenShoot
On CM10.1 Alpha 9 By dhiru (on my Samsung Galaxy SL) ​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
On StockRom 4.1.2​
​
What's Must Be Fixed?
Airplane mode Icon Done
SmartStay Icon
Clock (Something not right)
Sound Mode(All) 90%...
Wifi Icon And Signal Icon 30%.... Coming soon on Version 1.1
GPS Icon Done
stat sys signal in/out/inout/no_inout Icon Done
stat sys data fully connected h plus/h/e/g/3g/3gplus/1x Icon Done
stat sys data connected 3g plus/3g/h plus/h/e/g/1x Icon Done
When notif came status bar change to black
Note: On the way to fix it....
Changelog
Version 1 10/13/2013
Initial Release​
Version 1.1 Coming soon
Download
Version 1
DEV ONLY
Change Text in Status bar use this guide Here
DropBox
Push it to System/App​
Thank for
Allah
@BOND1987 for help me with tw_status_bar.xml
Agan Yoga
Indonesia Galaxy SIII Mini on Facebook
Miui for some icon
reserved
Nice theme, minimal<3 my favourite
Possible one for CM10.1?
looks interesting.
hope that fixes are coming soon...
AssToast said:
Nice theme, minimal<3 my favourite
Possible one for CM10.1?
Click to expand...
Click to collapse
thanksss it's possible,see my guide broo
JackoMJ said:
looks interesting.
hope that fixes are coming soon...
Click to expand...
Click to collapse
thank you bro,hope you can help me make some icon
Progress... 50%
Stuff can't be fixed for now
-Signal Icon & Wifi Icon (add some code to the line android:visibility="gone")
-Smart Stay
-All Sound Mode (ringer,silent...)
Thanks For @BOND1987
ScreenShoot
Someone can move the clock from right to center?
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="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:paddingLeft="4.0dip" 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/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
<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" />
<TextView android:textSize="14.0sp" android:textColor="#ffa6a6a6" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/hello" android:singleLine="true" />
<include android:id="@id/signal_cluster" android:visibility="gone" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<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|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="#ffa6a6a6" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/right_icons" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:textSize="14.0dip" android:textColor="#ffa6a6a6" 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 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>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
DONEE!!!
but.... first of all goto setting ,show pm/am and the hidden pm/am in setting
MR.Volkf said:
DONEE!!!
View attachment 2320524
but.... first of all goto setting ,show pm/am and the hidden pm/am in setting
Click to expand...
Click to collapse
How did you get that name in the top left?
I always wanted to do that!
Verstuurd van mijn GT-I9070 met Tapatalk
Oh sorry guys for the nam,link deleted!
Sent from my GT-I8190 using xda app-developers app
Jeroenvk94 said:
How did you get that name in the top left?
I always wanted to do that!
Verstuurd van mijn GT-I9070 met Tapatalk
Click to expand...
Click to collapse
with this guide sir
http://forum.xda-developers.com/showthread.php?t=2401367
Why is the link deleted ?!?! Awww man !
And, if you can move the signal icon to left while the wifi icon and battery to right, it would be nice, just like iOS 7's status bar.
Is there an option to change the name actually ? Or we have to edit the framework ourself ? If it can change in the settings, it would be great, but if we need to edit the framework ourself, I can't do it because I'm not very good at modifying system things.
limyuyang said:
Why is the link deleted ?!?! Awww man !
And, if you can move the signal icon to left while the wifi icon and battery to right, it would be nice, just like iOS 7's status bar.
Is there an option to change the name actually ? Or we have to edit the framework ourself ? If it can change in the settings, it would be great, but if we need to edit the framework ourself, I can't do it because I'm not very good at modifying system things.
Click to expand...
Click to collapse
Sorry sir,something isn't right with clock,so i must found fix for it,ok sir request accepted
limyuyang said:
Why is the link deleted ?!?! Awww man !
And, if you can move the signal icon to left while the wifi icon and battery to right, it would be nice, just like iOS 7's status bar.
Is there an option to change the name actually ? Or we have to edit the framework ourself ? If it can change in the settings, it would be great, but if we need to edit the framework ourself, I can't do it because I'm not very good at modifying system things.
Click to expand...
Click to collapse
sir can you give me that battery icon?
MR.Volkf said:
Sorry sir,something isn't right with clock,so i must found fix for it,ok sir request accepted
Click to expand...
Click to collapse
Oh I see....ya I hope you canove those icons.
MR.Volkf said:
sir can you give me that battery icon?
Click to expand...
Click to collapse
Well, the picture I searched from Google, so I can't give u the battery icon actually because its on iOS, not android.
And also, you can just keep on using the battery icon u make, its nice and simple. Very good.
For people who good in theming please help me
MR.Volkf said:
For people who good in theming please help me
Click to expand...
Click to collapse
Actually the battery in your status bar is very nice, I think no need to do another battery icon again. This is my personal idea only.
limyuyang said:
Actually the battery in your status bar is very nice, I think no need to do another battery icon again. This is my personal idea only.
Click to expand...
Click to collapse
oke sirr how about signal and battery are the same?
Thankssss Uploader !!
MR.Volkf said:
oke sirr how about signal and battery are the same?
Click to expand...
Click to collapse
Well, I think the signal icon and battery icon are nice, what I request is just the WiFi icon move to right and signal icon move to left
limyuyang said:
Well, I think the signal icon and battery icon are nice, what I request is just the WiFi icon move to right and signal icon move to left
Click to expand...
Click to collapse
sorry sir wifi icon and signal the same code in status_bar.xml

[guide][gb]how to add brightness slider with data trafik in any deodexed rom

HOW TO ADD BRIGHTNESS BAR WITH DATA TRAFIK IN STATUS BAR​Hello Guys!
Today i am going to tell you how to add Brightness Bar(with Data trafik) in Status Bar of Any Deodexed ROM
Screenshot -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, Here we start :
Things Required : (you can get all of these things on google)
1. Apktool or apk multitool (for decompiling and recompiling)
2. Notepad++
Instructions: (Do make a nandroid backup before proceeding because you might do it wrong)
1. first of all decompile SystemUI.apk (Please don't ask me how to do that).
2. Now Extract the Brightness_slider_with_data_trafik.zip (See attatchments) in your decompiled SystemUI.apk
3. Now copy and paste this code in "decompiled_systemUI\res\values\ids.xml" at bottom.
Code:
<item type="id" name="brightness">false</item>
<item type="id" name="automatic">false</item>
<item type="id" name="quickpanel_brightness_icon">false</item>
<item type="id" name="title">false</item>
4. Now copy and paste this code in "Decompiled_systemUI\res\layout\status_bar_expanded.xml" (Pasteit where you want to place the brightness bar)
Code:
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="3.0dip" android:baselineAligned="false">
<include layout="@layout/brightness_bar" />
</LinearLayout>
so it look like this now:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="35.0dip" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/blank" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:src="@drawable/blank" />
<ImageView android:layout_gravity="center_vertical" android:layout_width="30.0px" android:layout_height="30.0px" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
<Button android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="@style/Awesome.Button" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="3.0dip" android:baselineAligned="false">
<include layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/quickpanel_dualsim_layout" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="35.0px">
<com.android.systemui.statusbar.quickpanel.QuickSim1ButtonLayout android:gravity="center_horizontal" android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@id/QuickSim1ButtonLayout" android:background="@drawable/quickpanel_simbutton_selector_bg" android:focusable="true" android:clickable="true" android:layout_width="84.0px" android:layout_height="35.0px" android:layout_marginLeft="0.0px" android:layout_marginRight="0.0px" android:layout_weight="1.0">
<ImageView android:id="@id/QuickSim1ButtonImage" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/quick_btn_g_1" />
<TextView android:textSize="0.0px" android:textColor="@android:color/primary_text_light_dark" android:gravity="center" android:id="@id/QuickSim1ButtonText" android:paddingBottom="2.0px" android:layout_width="0.0px" android:layout_height="0.0px" android:text="@string/quickpanel_sim1_text" />
</com.android.systemui.statusbar.quickpanel.QuickSim1ButtonLayout>
<com.android.systemui.statusbar.quickpanel.QuickSim2ButtonLayout android:gravity="center_horizontal" android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@id/QuickSim2ButtonLayout" android:background="@drawable/quickpanel_simbutton_selector_bg" android:focusable="true" android:clickable="true" android:layout_width="84.0px" android:layout_height="35.0px" android:layout_marginLeft="0.0px" android:layout_marginRight="0.0px" android:layout_weight="1.0">
<ImageView android:id="@id/QuickSim2ButtonImage" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/quick_btn_g_2" />
<TextView android:textSize="0.0px" android:textColor="@android:color/primary_text_light_dark" android:gravity="center" android:id="@id/QuickSim2ButtonText" android:paddingBottom="2.0px" android:layout_width="0.0px" android:layout_height="0.0px" android:text="@string/quickpanel_sim2_text" />
</com.android.systemui.statusbar.quickpanel.QuickSim2ButtonLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="0.0dip" android:baselineAligned="false">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:id="@id/carrierLabel1" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/carrierLabel1Image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/stat_sim_gsm_1" />
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/carrierLabel2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip">
<ImageView android:id="@id/carrierLabel2Image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/stat_sim_gsm_2" />
<com.android.systemui.statusbar.CarrierLabel2 android:textSize="17.659973dip" android:textColor="#ffffffff" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<FrameLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.darkjb.NotificationLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/layout_button">
<include layout="@layout/darkjbnotifications" />
</LinearLayout>
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/layout_button">
<include layout="@layout/darkjbsliders" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/layout_button" android:background="#00000000" android:paddingTop="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:weightSum="1.0">
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="Notifications" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
<Button android:gravity="center" android:padding="5.0dip" android:layout_width="120.0px" android:layout_height="wrap_content" android:text="Sliders" android:layout_weight="0.5" style="@style/Dcsms.Buttons" />
</LinearLayout>
</com.darkjb.NotificationLayout>
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
5. Now open "decompiled_SystemUI.apk\res\values\strings.xml" an add this code at its end
Code:
<string name="brightness_settings_title" />
<string name="brightness_settings_automatic" />
5. Now recompile your SystemUI. done!
if you encounter any issue, you can post it. will try my best to resolve
xc
The auto button is not working
Mrinal Roy said:
The auto button is not working
Click to expand...
Click to collapse
i am working on it. will update the post asap.
Hit Thanks if i helped you!
Can you tell me how to remove the data traffic, because I want only the brightness slider.
drakonizer said:
Can you tell me how to remove the data traffic, because I want only the brightness slider.
Click to expand...
Click to collapse
divyamg28 said:
thhnxx searching for this only!!!
Click to expand...
Click to collapse
#drakonizer : Decompile your SystemUI.apk again and open {decompiled_SystemUI/res/layout/brightness_bar.xml} and remove this line from it and recompile and push in /system/app/ and done! -->
<com.akumarraheja.DataTrafik android:textSize="14.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:singleLine="true" android:shadowColor="#00000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
Click to expand...
Click to collapse
#divyamg28 : its much better to press thanks than just saying anyways, thanks for your positive response.
Regards,
Akshay Kumar Raheja
©Darkjbrom | GT-S5302
Sent from my GT-S5302 using DARK JB ROM
It has no effect in my status bar...
Himan Boro said:
It has no effect in my status bar...
Click to expand...
Click to collapse
which phone do you have?
y duos bro..i m jst getting confusd wer to put
Code:
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:l
<include layout="@layout/brightness_bar" />
</LinearLayout>
can u please mod this status bar..please... :-C
Himan Boro said:
y duos bro..i m jst getting confusd wer to put
Code:
<LinearLayout android:orientation="horizontal" android:background="#ff000000" android:l
<include layout="@layout/brightness_bar" />
</LinearLayout>
can u please mod this status bar..please... :-C
Click to expand...
Click to collapse
ok. i will do it for you.
Sent from my GT-S5302 using xda premium
Akshay Kumar Raheja said:
ok. i will do it for you.
Sent from my GT-S5302 using xda premium
Click to expand...
Click to collapse
Ok...Thanks A Lot »>_<« >_< Thanks Pressed...eagerly waiting for it..
Himan Boro said:
Ok...Thanks A Lot »>_<« >_< Thanks Pressed...eagerly waiting for it..
Click to expand...
Click to collapse
here it is bro --> https://www.dropbox.com/s/nuav4p836x71r7i/SystemUI.apk
btw if you find any problem, kindly send me the logcat.
Akshay Kumar Raheja said:
here it is bro --> https://www.dropbox.com/s/nuav4p836x71r7i/SystemUI.apk
btw if you find any problem, kindly send me the logcat.
Click to expand...
Click to collapse
Ok Bro..surely..n Thanx A Lot...
Dont Know Why This Mod is not showing in my Moded Status bar.. m following it vry carefully n also recompiling succesfully without any error.. bt then also..its not working..
bro if u dnt mind mod my this status bar too please
Himan Boro said:
Dont Know Why This Mod is not showing in my Moded Status bar.. m following it vry carefully n also recompiling succesfully without any error.. bt then also..its not working..
bro if u dnt mind mod my this status bar too please
Click to expand...
Click to collapse
ok. i'll do it in free time. btw the one i modded is working ? ryt?
nd one more thing, that to which phone does these systemui.apks belongs(which u uploaded)?
Akshay Kumar Raheja said:
nd one more thing, that to which phone does these systemui.apks belongs(which u uploaded)?
Click to expand...
Click to collapse
Yap the one wich u provided works with charm n i was able to remove data traffic also
this two systemui belongs to y duos same phone .... first one is Stock n and second one is stock modded with AoKP icons..
i will b waiting for it
Himan Boro said:
Yap the one wich u provided works with charm n i was able to remove data traffic also
this two systemui belongs to y duos same phone .... first one is Stock n and second one is stock modded with AoKP icons..
i will b waiting for it
Click to expand...
Click to collapse
AOKP_SystemUI.apk --> https://www.dropbox.com/s/vioux9sayuuef1l/AOKP_SystemUI.apk
Stock SystemUI.apk --> https://www.dropbox.com/s/nuav4p836x71r7i/SystemUI.apk
Akshay Kumar Raheja said:
AOKP_SystemUI.apk --> https://www.dropbox.com/s/vioux9sayuuef1l/AOKP_SystemUI.apk
Stock SystemUI.apk --> https://www.dropbox.com/s/nuav4p836x71r7i/SystemUI.apk
Click to expand...
Click to collapse
Thanks But Its Giving FC...Have You Signed The Apk??
Himan Boro said:
Thanks But Its Giving FC...Have You Signed The Apk??
Click to expand...
Click to collapse
no. i kept original signatures. can you send me logcat of your device?
here is the log cat of Aokp systemui

[GUIDE]Floating SystemUI

Good day XDA and who are here in this thread. I brought to you a guide. As the thread title says, it is floating systemui. Yes you read it right its a floating systemui but its kinda different from the guide made by our recognized themer petruk.grinder. Since his floating systemui uses a drawable as the floating mine was uses the layout itself, we will play with it
Since I had experience in sir petruk.grinder's guide, the lidroid and some other stuffs are not properly align and some are kinda cropped and sure I'll share it here what's in my treasure box.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer: Back up first You know what to do
What we will be needing in this modification
Notepad++
Apktool
SystemUI.apk (statusbar_expanded and statusbar_tracking)
Brain.apk
Determination
Steps:
1. Decompile the SystemUI.
2. Now go to res/layout/status_bar_expanded.xml
3. Add the coded line below after xmlns:android="http://schemas.android.com/apk/res/android">
Code:
<LinearLayout android:background="#00000000" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" [COLOR="Red"]android:paddingLeft="30dip" android:paddingTop="15dip" android:paddingBottom="20dip" android:paddingRight="15dip"[/COLOR]>
<LinearLayout android:background="#ff8e979f" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical">
4. And add the coded line below before </com.android.systemui.statusbar.ExpandedView>
Code:
</LinearLayout>
</LinearLayout>
It will be like this for example (BTW this is my SystemUI)
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"] <LinearLayout android:background="#00000000" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" android:paddingLeft="30dip" android:paddingTop="15dip" android:paddingBottom="20dip" android:paddingRight="15dip">
<LinearLayout android:background="#ff8e979f" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical">[/COLOR]
<RelativeLayout android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="50.0dip">
<ppl.SystemUI.Header android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ppl.SystemUI.SettingsButton android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_settings" android:layout_alignParentRight="true" />
</RelativeLayout>
<ppl.SystemUI.toggles.PowerWidget android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="75.0dip" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ScrollView android:id="@id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<Button android:textSize="13.0sp" android:gravity="center" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
</LinearLayout>
</ScrollView>
</com.android.systemui.statusbar.NotificationLinearLayout>
</FrameLayout>
</LinearLayout>
[COLOR="Red"]</LinearLayout>
</LinearLayout>[/COLOR]
</com.android.systemui.statusbar.ExpandedView>
5. Lets move on to your status_bar_tracking.xml
Now make the View background into transparent, like this
Code:
<View android:background="#[COLOR="Red"]00000000[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
6. Then below
Code:
<com.android.systemui.statusbar.CloseDragHandle .....
You can see an imageview, delete the "android:src" and adjust the "android:layout_height" to digit.dip, mine was I used "15dip"
My status_bar_tracking.xml is something like this if you want to compare
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"]<View android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />[/COLOR]
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Red"]<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="15dip" android:scaleType="fitXY" />[/COLOR]
</com.android.systemui.statusbar.CloseDragHandle>
</com.android.systemui.statusbar.TrackingView>
7. Save the status_bar_expanded.xml and status_bar_tracking.xml
8. Compile your SystemUI
9. Flash/Push
10. And never forget to smile, and make your day happy.
Some tips:
You can adjust the padding depend on your likings.
If you are having a problem expanding the notification/expanded, you can try to check my own status_bar_expanded, I have no problem there
Click to expand...
Click to collapse
Bugs:
404 Bug not found
Click to expand...
Click to collapse
Credits:
developers.android.com
Experience
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for some cokefloats
nice idea by the way :good:
i think i'll make a new mod based on this
AuliaYF said:
nice idea by the way :good:
i think i'll make a new mod based on this
Click to expand...
Click to collapse
The changeable one. Looking forward for that Hehe
PineappleOwl said:
The changeable one. Looking forward for that Hehe
Click to expand...
Click to collapse
yeah, im working on it
Can I change the background of status bar expanded to transparent?
jasper~ said:
Can I change the background of status bar expanded to transparent?
Click to expand...
Click to collapse
Yea you can
PineappleOwl said:
Yea you can
Click to expand...
Click to collapse
By replacing the image to transparent? Or another way?
Great guide sir
Anyways congrats on getting that RT badge! :good:
jasper~ said:
By replacing the image to transparent? Or another way?
Click to expand...
Click to collapse
change background to this
Code:
android:background="#00000000"
AuliaYF said:
change background to this
Code:
android:background="#00000000"
Click to expand...
Click to collapse
Man, you should try to make a color changer too. Hahaha
PineappleOwl said:
Man, you should try to make a color changer too. Hahaha
Click to expand...
Click to collapse
should i? why not you man?
AuliaYF said:
should i? why not you man?
Click to expand...
Click to collapse
Kinda busy this time sir Hehehe
PineappleOwl said:
Kinda busy this time sir Hehehe
Click to expand...
Click to collapse
i think i'm gonna put this on my SystemUI and make a thread for it. :laugh:

Categories

Resources