[ACS][MOD][ICS]Status Bar Animation/Transparent/Themed Mods/Inverted MMS

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Dude your a tank, I thought it was bad for you guys when there was the chain of leeks and people wanted the theme bumped for the new version.

Sent from my Nexus S 4G using Tapatalk
These aren't too bad to build. It would be more of a pain if was a full theme.

Plus I can't test these so it's compile, post, and hope it works. Lol

Sent from my Nexus S 4G
 
  • Like
Reactions: formula84

jeremy112683

Senior Member
Jan 10, 2011
488
32
0
Umm...well...my notification bar is gone completely, lol. I cant access my notifications. The status bar is gone where the battery meter and signal indicator is located.

I honestly am not sure if the ROM I'm running is deodexed so that may be the issue. I'm running ICS Dooderbutt 4.0.3 v5. I've also got Eugenes kernal installed.

I just wiped everything and reflashed the ROM and kernal. So I've got it back...but I guess this mod wont work for me. :(


Thats funny, a rom named dooderbutt
 

the1dynasty

Senior Member
Dec 16, 2011
4,332
3,151
0
hey shane, could you be so kind as to direct me to which xml to edit (and what to add) for me to enable the "shade_bg.png" file... i managed to change the png to get my own image showing but i'm starting from scratch on "themeing" and need some direction here! thanks!
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
hey shane, could you be so kind as to direct me to which xml to edit (and what to add) for me to enable the "shade_bg.png" file... i managed to change the png to get my own image showing but i'm starting from scratch on "themeing" and need some direction here! thanks!
It would be in the status_bar_expanded. I would add it as a linear layout right before the date, settings button, and clear all button. Then close the layout after those.

I'm just assuming that's what you want it as the background for.
 
Last edited:
  • Like
Reactions: the1dynasty

the1dynasty

Senior Member
Dec 16, 2011
4,332
3,151
0
i'm a total newb at editing code... what should i add in exactly? the name of the png is "shade_bg.png" and is located in the "res\drawable-hdpi" folder...

i tried to compare codes with various themes using them with the stock code i have and i see differences... but nothing to indicate what/where they added the background image!!

this is the stock code i have... i see where you mean but not sure what to add in there... i'm assuming you meant where i left the space here?

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" 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="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
        <RelativeLayout android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
            
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
            <ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
            <ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
        </RelativeLayout>
    </LinearLayout>
    <View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
    <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
        <TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
        <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
            </LinearLayout>
        </ScrollView>
        <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
    </FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>


---------- Post added at 03:22 PM ---------- Previous post was at 03:09 PM ----------

when i said i can get the image to show, i meant by replacing the png on another theme and using their setup... but i wanted to do this from scratch and i don't know what to add to the xml in order to get the image to show up!
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
i'm a total newb at editing code... what should i add in exactly? the name of the png is "shade_bg.png" and is located in the "res\drawable-hdpi" folder...

i tried to compare codes with various themes using them with the stock code i have and i see differences... but nothing to indicate what/where they added the background image!!

this is the stock code i have... i see where you mean but not sure what to add in there... i'm assuming you meant where i left the space here?

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" 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="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
        <RelativeLayout android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
            
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
            <ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
            <ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
        </RelativeLayout>
    </LinearLayout>
    <View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
    <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
        <TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
        <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
            </LinearLayout>
        </ScrollView>
        <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
    </FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>


---------- Post added at 03:22 PM ---------- Previous post was at 03:09 PM ----------

when i said i can get the image to show, i meant by replacing the png on another theme and using their setup... but i wanted to do this from scratch and i don't know what to add to the xml in order to get the image to show up!
This may not be exactly right, but it should be close. (didn't test it)
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" 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="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
        <RelativeLayout android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
	     <LinearLayout android:orientation="vertical" android:background'"@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">	
		  <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
		  <ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
		  <ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
	     </LinearLayout>
        </RelativeLayout>
    </LinearLayout>
    <View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
    <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
        <TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
        <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
            </LinearLayout>
 
Last edited:

Killasmoke

Senior Member
Jun 27, 2011
760
129
0
Worcester
Hey Shane 6374 how abouts making an animated pull down notification of the nexus s boot up animation I think it would look sweet but leave everything the same as stock on the pull down like without the blue line on top & leave the battery signal & time as is? Don't worry if you can't I know you got tons on your plate just a request glad to see you here with the nexus I also came from the epic & loved your blue honeycomb theme with the sick honeycomb animation on pull down I know I ain't the first to ask but if you ever decided to port it to the nexus people are going to drool!!;)

Sent from my Nexus S 4G using xda premium
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Hey Shane 6374 how abouts making an animated pull down notification of the nexus s boot up animation I think it would look sweet but leave everything the same as stock on the pull down like without the blue line on top & leave the battery signal & time as is? Don't worry if you can't I know you got tons on your plate just a request glad to see you here with the nexus I also came from the epic & loved your blue honeycomb theme with the sick honeycomb animation on pull down I know I ain't the first to ask but if you ever decided to port it to the nexus people are going to drool!!;)

Sent from my Nexus S 4G using xda premium
Did you check out Ice Cream Infusion yet? It uses many of the concepts of Honeycomb Fusion, but colored to match ICS.
 
  • Like
Reactions: Killasmoke

the1dynasty

Senior Member
Dec 16, 2011
4,332
3,151
0
i added that but i get this error when compiling it...

Code:
-------------------------------------------------------------------------- 
|Sat 01/07/2012 -- 15:52:44.70| 
-------------------------------------------------------------------------- 
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
-------------------------------------------------------------------------- 
|Sat 01/07/2012 -- 15:53:03.91| 
-------------------------------------------------------------------------- 
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res\layout\status_bar_expanded.xml:8: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Bear\AppData\Local\Temp\APKTOOL994077793943561441.tmp, -I, C:\Users\Bear\apktool\framework\1.apk, -S, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
	at brut.androlib.Androlib.buildResources(Androlib.java:248)
	at brut.androlib.Androlib.build(Androlib.java:171)
	at brut.androlib.Androlib.build(Androlib.java:154)
	at brut.apktool.Main.cmdBuild(Main.java:182)
	at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Bear\AppData\Local\Temp\APKTOOL994077793943561441.tmp, -I, C:\Users\Bear\apktool\framework\1.apk, -S, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:83)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
	... 6 more
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
i added that but i get this error when compiling it...

Code:
-------------------------------------------------------------------------- 
|Sat 01/07/2012 -- 15:52:44.70| 
-------------------------------------------------------------------------- 
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
-------------------------------------------------------------------------- 
|Sat 01/07/2012 -- 15:53:03.91| 
-------------------------------------------------------------------------- 
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res\layout\status_bar_expanded.xml:8: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Bear\AppData\Local\Temp\APKTOOL994077793943561441.tmp, -I, C:\Users\Bear\apktool\framework\1.apk, -S, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
	at brut.androlib.Androlib.buildResources(Androlib.java:248)
	at brut.androlib.Androlib.build(Androlib.java:171)
	at brut.androlib.Androlib.build(Androlib.java:154)
	at brut.apktool.Main.cmdBuild(Main.java:182)
	at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Bear\AppData\Local\Temp\APKTOOL994077793943561441.tmp, -I, C:\Users\Bear\apktool\framework\1.apk, -S, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\AndroidDevelopment\APK_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:83)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
	... 6 more
If you copied and pasted what was in my code box, that's why. I was having a hard time with the margins(tabs) in the code box. I would add the 2 lines and adjust the tabs manually.
 
  • Like
Reactions: TRusselo

the1dynasty

Senior Member
Dec 16, 2011
4,332
3,151
0
dunno... i've tried fixing everything... i did notice the code you provided was written like this

<LinearLayout android:eek:rientation="vertical" android:background'"@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">

and i'm assuming a = was supposed to go there instead of the ' so i fixed that too and still nothing... i'm sorta stumped right now... hmmmz...

---------- Post added at 04:30 PM ---------- Previous post was at 04:24 PM ----------

wait, i just compiled it... i found a letter missing that spelled "LinerLayout" not sure how that happened lol... testing now...

---------- Post added at 04:50 PM ---------- Previous post was at 04:30 PM ----------

well i compiled the SystemUi.apk and added it to the zip i use for flashing... but for some reason, it won't install... i get "Aborted" and "(Bad)" gonna mess around with it a bit more and see what happens...

thanks for your help with this shane!!
 

the1dynasty

Senior Member
Dec 16, 2011
4,332
3,151
0
sorry to clutter your thread with this stuff shane... i know this isn't "learn to theme" thread... i was finally able to get it tho... it goes in the "status_bar_tracking.xml" and just figuring out where to place it took me 2hrs lol... thanks for the line to add... i wouldn't have gotten it without that!
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
sorry to clutter your thread with this stuff shane... i know this isn't "learn to theme" thread... i was finally able to get it tho... it goes in the "status_bar_tracking.xml" and just figuring out where to place it took me 2hrs lol... thanks for the line to add... i wouldn't have gotten it without that!
No prob, and yeah, I can see how it might fit with that xml.
 

TRusselo

Inactive Recognized Developer
Jan 20, 2011
4,736
2,928
0
Edmonton
Awesome mod! any chance you can mod this one?

OneCosmic's ICS Source Build. (ASOP)
version RC2.11 / Android 4.0.3
(no system-ui bugs, apk will not change in non-RC release)
Samsung Captivate / Vibrant / rest SGS lineup in ics-sgs project as well


or if you could just post the changes needed for transparent background with toggles. i could manage the rest... i see you started posting necessary edits. but not the one i want! lol any help is appreciated, even if i have to do the hard work.


EDIT...
hold up.... I see a version few pages back ill try, and look at the install script.... cm7/miui kernel..
 

Attachments

Last edited:
  • Like
Reactions: milniko

TRusselo

Inactive Recognized Developer
Jan 20, 2011
4,736
2,928
0
Edmonton
Last edited:
  • Like
Reactions: shane6374

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
post 132 onecosmic build you made installer script needs to read

mount("yaffs2", "MTD", "system", "/system");


not
run_program("/sbin/busybox", "mount", "/system");
as you had...


manually pushed system Ui to phone, and worked without Reboot!! LOL
transparent but no toggles...
do you mind?? new top bar with thin line would be nice, transparent pull-down with toggles?
The toggles are something that needs to be built into the rom. All I'm doing is themeing what's there. I can edit the zip with the correct lines to make it flashable.

Sent from my Nexus S 4G
 
  • Like
Reactions: TRusselo