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

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
I would love to see this ported to the Fascinate/Mesmerize. What's the chance of this happening since their basically the same phone minus 4G?

Sent from my Frosty Ice Cream Sandwiched Mesmerize
Idk, I've had a hell of a time with the i9000. I had heard that early versions of this was working on most galaxy s devices, but not as of late. Still don't have a computer to develop on right now anyway.

Sent from my Nexus S 4G
 

mattmanwrx

Senior Member
Aug 15, 2010
4,932
2,989
0
London
www.mattman.org
In the systemui.apk you will need to edit the status_bar_tracking.xml in the layout folder. Just add what I've highlighted below.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/pulldown"[/COLOR] 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">
    <FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
        <com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    </FrameLayout>
    <com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
    </com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>
Then you will need to make an xml call pulldown.xml and place it in the drawable folder. Here's a start of it.
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:duration="100" android:drawable="@drawable/pulldown_anim0" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim1" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim2" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim3" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim4" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim5" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim6" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim7" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim8" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim9" />
    <item android:duration="100" android:drawable="@drawable/pulldown_anim10" />
</animation-list>

Keep adding lines to this until you have enough lines to cover all of the images used to create the animation.

Last you put your animation images in the drawable-hdpi folder or where ever you put the images on your device.
Hi,

Firstly, thanks for this tutorial, works great on my HTC Desire running ICS beta...

Well, I say it works great, it does when I make an exact copy of what you've done (with the same pictures). When I try to change to pictures, it doesnt work at all...
I get systemUI has stopped working (not a force close) and the status bar doesnt appear at all...

Is there any particular rules to this? I'm trying to use an image that was my old boot animation, and sized it to 240x240 (yours are 240x400) and changed all other parts. I have even changed the names to match the pulldown.xml that you created and that doesnt even work... I'm guessing it is the image sizes, but they are smaller than yours...

I'm using apktool (latest) and all is working fine when decompiling my SystemUI adding in your files and text, then recompiling. Also the flashable.zip is working fine, but only with your files (my flashable.zip is fine, just the SystemUI isn't!)

My moddified systemUI is attached, but it doesnt work for me on my Desire running ICS Beta... If anyone could take a look at it, it would be great!

Thanks A Lot, Matt
 

Attachments

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Hi,

Firstly, thanks for this tutorial, works great on my HTC Desire running ICS beta...

Well, I say it works great, it does when I make an exact copy of what you've done (with the same pictures). When I try to change to pictures, it doesnt work at all...
I get systemUI has stopped working (not a force close) and the status bar doesnt appear at all...

Is there any particular rules to this? I'm trying to use an image that was my old boot animation, and sized it to 240x240 (yours are 240x400) and changed all other parts. I have even changed the names to match the pulldown.xml that you created and that doesnt even work... I'm guessing it is the image sizes, but they are smaller than yours...

I'm using apktool (latest) and all is working fine when decompiling my SystemUI adding in your files and text, then recompiling. Also the flashable.zip is working fine, but only with your files (my flashable.zip is fine, just the SystemUI isn't!)

My moddified systemUI is attached, but it doesnt work for me on my Desire running ICS Beta... If anyone could take a look at it, it would be great!

Thanks A Lot, Matt
Here is one thing I didn't mention in the tutorial, the pulldown.xml must be built from scratch if you reduce the number of images in the animation from another animation. Like the ones I made use about 70 images, so if I wanted to make one that used 40 I would need to rebuild the file from scratch. Another thing is file size. So far I have been unable to get any systemui over 5mb to load hence the 240x400 image size.

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

mattmanwrx

Senior Member
Aug 15, 2010
4,932
2,989
0
London
www.mattman.org
Here is one thing I didn't mention in the tutorial, the pulldown.xml must be built from scratch if you reduce the number of images in the animation from another animation. Like the ones I made use about 70 images, so if I wanted to make one that used 40 I would need to rebuild the file from scratch. Another thing is file size. So far I have been unable to get any systemui over 5mb to load hence the 240x400 image size.

Sent from my Nexus S 4G
Thanks for the quick response...
Well you can see my file size there for one.. 7.1mb... will need to rework that then...
And I will rework the pull.xml from scratch and see if it works... I just added it in after decompiling the systemui.apk and then edited it... will see if I get any closer with it...
Thanks...

sent from my HTC desire using xda premium
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Thanks for the quick response...
Well you can see my file size there for one.. 7.1mb... will need to rework that then...
And I will rework the pull.xml from scratch and see if it works... I just added it in after decompiling the systemui.apk and then edited it... will see if I get any closer with it...
Thanks...

sent from my HTC desire using xda premium
Do your best to optimize the image sizes and convert to indexed if possible.

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

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Hi! I love your work and whuld like to have it in my phone:
My phone: HTC Desire HD.
This rom: http://icecold.losinj.com/mirrors/IceColdSandwich-7.0.AOKP.signed.zip
here is my system ui: http://db.tt/QVw7VvE5
And Here is the animation: http://db.tt/vVroQMyi

I will try this myself soon. Thank you!!
I'm currently taking a break from working on this stuff for the month of April because I just have bit too much going onin my personal life right now.

Sent from my GT-P7310 using Tapatalk