It's in the OP. Let me know how it goes.thanks I really appreciate it!![]()
Same with this one.
Last edited:
It's in the OP. Let me know how it goes.thanks I really appreciate it!![]()
Same with this one.
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.It's in the OP. Let me know how it goes.
Same with this one.
These aren't too bad to build. It would be more of a pain if was a full theme.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
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.![]()
thanks shane worked perfectly!It's in the OP. Let me know how it goes.
Same with this one.
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.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!
<?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>
This may not be exactly right, but it should be close. (didn't test it)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!
<?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>
Did you check out Ice Cream Infusion yet? It uses many of the concepts of Honeycomb Fusion, but colored to match ICS.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
--------------------------------------------------------------------------
|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.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
No prob, and yeah, I can see how it might fit with that xml.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!
post 132 onecosmic build you made installer script needs to read
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.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?