[One (M7) Themes and Apps] Ajthescot:
animation guide​

drag handle animations

systemui.apk

layout

statusbar_expanded.xml

find this line,

<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:id="@id/close" android:background="@drawable/status_bar_close_on" android:layout_width="fill_parent" android:layout_height="wrap_content">

below it add this

<ImageView android:layout_gravity="center" android:background="@drawable/status_bar_close" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitCenter" />

open drawable

create new xml named

status_bar_close.xml

enter this

<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@*android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:state_selected="true" android:drawable="@drawable/status_bar_close_on" />
<item android:drawable="@drawable/status_custom" />
</selector>

create another xml

named status_custom.xml

add this to it

edit to suit your animation this is just based on my red bar shown in vt

<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="50" android:drawable="@drawable/status_custom_anim1" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim2" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim3" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim4" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim6" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim7" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim8" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim7" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim6" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim4" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim3" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim2" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim1" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim2" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim3" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim4" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim6" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim7" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim8" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim7" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim6" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim5" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim4" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim3" />
<item android:duration="50" android:drawable="@drawable/status_custom_anim2" />
</animation-list>

--------------------------------------------------------------------------------

statusbar bg animation

this is easier but needs a little more thought,

statusbar_expanded again

line 2

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"

add android:background="@drawable/custom"

so showing as

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/custom" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"

now if you add the animation in here it will be hidden by the background ,so this needs to be transparent,

semi trans will fade the effect so best to use full transparency

and add your level it to your animations .

so edit this line

<ScrollView android:id="@id/scroll" android:background="#d5000000" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="0.0px" android:layout_weight="1.0" android:overScrollMode="ifContentScrolls">

changing what ever you have here android:background="#d5000000"

to android:background="#00000000"

now create another xml named custom.xml

add as many frames as you require.

dont go overboard or you will create lag on your pull down.

<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="150" android:drawable="@drawable/custom_anim1" />
<item android:duration="150" android:drawable="@drawable/custom_anim2" />
<item android:duration="150" android:drawable="@drawable/custom_anim3" />
<item android:duration="150" android:drawable="@drawable/custom_anim4" />
<item android:duration="150" android:drawable="@drawable/custom_anim5" />
<item android:duration="150" android:drawable="@drawable/custom_anim6" />
<item android:duration="150" android:drawable="@drawable/custom_anim7" />
<item android:duration="150" android:drawable="@drawable/custom_anim8" />
<item android:duration="150" android:drawable="@drawable/custom_anim9" />
<item android:duration="150" android:drawable="@drawable/custom_anim10" />
<item android:duration="150" android:drawable="@drawable/custom_anim11" />
<item android:duration="150" android:drawable="@drawable/custom_anim12" />
<item android:duration="150" android:drawable="@drawable/custom_anim13" />
<item android:duration="150" android:drawable="@drawable/custom_anim14" />
<item android:duration="150" android:drawable="@drawable/custom_anim15" />

</animation-list>

attached are the xmls for drawable folder

remove the txt extention only included for attaching to this post.

also attached is the base i used for my transparency level for background animation

download

my images for editing

Have fun

and remember to thank and credit

more information if needed can be found here

http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html