leetut
04-30-2010, 12:56 PM
here im going to show how i make rotating loading indicators for the menu and the bootloader screens,
you will need this freeware gif extraction tool:
http://www.evanolds.com/dl/GIFFrame.exe
and ill be using photoshop cs4 for everything else.
first go here:
http://www.gifmania.co.uk/comic/Superman/
and right click the rotating superman logo gif, choose 'save image as' and save it to your desktop.
open the gif with the gif frame extraction program, and choose 'save all' and save the 12 seperate images to your desktop.
http://img94.imageshack.us/img94/9771/18755935.png (http://img94.imageshack.us/i/18755935.png/)
from the 12 png images you now have, you only need 8, so i used frame 0,1,3,4,6,7,9,10,
rename them 1,2,3,4,5,6,7,8 and delete the 4 remaining frames from your desktop.
next open photoshop and drag the 8 images into there
http://img684.imageshack.us/img684/5524/10436486.png (http://img684.imageshack.us/i/10436486.png/)
select image 1, click the image tab at the top of the page and select 'canvas size' change it to 125x100 pixels
http://img339.imageshack.us/img339/6429/90045706.png (http://img339.imageshack.us/i/90045706.png/)
then again click the image tab and choose 'image size'
un-tick 'constrain proportions'
resize it to 48x48px
(repeat this for all 8 images)
http://img156.imageshack.us/img156/4859/90552019.png (http://img156.imageshack.us/i/90552019.png/)
next click: file, new, and make a new transparent image, size 384x48px, and name it: wmProgressIndicator
http://img249.imageshack.us/img249/3280/99521084.png (http://img249.imageshack.us/i/99521084.png/)
with the new image selected, click the, 'slice select tool'
in the bar above choose 'divide'
tick 'divide vertically into (8) slices across'
http://img691.imageshack.us/img691/9475/65272892.png (http://img691.imageshack.us/i/65272892.png/)
using the 'paint bucket tool' fill the background of your 8 images a light green color
http://img687.imageshack.us/img687/9396/76011592.png (http://img687.imageshack.us/i/76011592.png/)
then using the 'move tool' drag each of the 8 images into the progress indicator, starting with image 1, then 2, and so on
realign then using the arrow keys on your keyboard
http://img697.imageshack.us/img697/3820/99217870.png (http://img697.imageshack.us/i/99217870.png/)
when your finished, click 'view' tab, choose 'show', and untick 'slices'
(to turn off the slices view)
if any of your images are missaligned
http://img443.imageshack.us/img443/6974/67173065.png (http://img443.imageshack.us/i/67173065.png/)
use the layers box to select each layer and fine tune its position
http://img293.imageshack.us/img293/8784/76253639.png (http://img293.imageshack.us/i/76253639.png/)
next save the image to your desktop as a png
drag the new image back into photoshop
and use the 'magic eraser tool' to erase the green background
http://img697.imageshack.us/img697/7676/38219411.png (http://img697.imageshack.us/i/38219411.png/)
now you can save the final image!
it should now be called wmProgressIndicator.png
put it into usr/share/themes/*YOUR THEME*/images
and reboot phone
----------------------------------------------
another nice little touch is to make a wmMenuIndicator.png
from the first image
remove the green background from image 1 and resize it 24x24px,
then make a new transparent image 48x48px,
(name it wmMenuIndicator.png)
and drag the 24x24 icon into the 48x48 image
position it slightly to the left
then save the image
this also needs to go into usr/share/themes/*YOUR THEME*/images
http://img38.imageshack.us/img38/9265/94145708.png (http://img38.imageshack.us/i/94145708.png/)
the indicator and icon i made in this example are here if anyone wants them:
http://www.mediafire.com/file/gnljvzd4zte/superman.rar
http://img695.imageshack.us/img695/8103/tututu.png (http://img695.imageshack.us/i/tututu.png/)
*UPDATE*
a few more menu indicators i made with this method:
http://www.mediafire.com/file/dyy1wj42zmw/menu indicators.rar
http://img7.imageshack.us/img7/83/46600580.gif (http://img7.imageshack.us/i/46600580.gif/)
and my favourite, the skeleton on a spacehopper!
http://www.mediafire.com/file/5vuwlxnz3oy/skeleton spacehopper.rar
http://img404.imageshack.us/img404/2026/spacehopper.png (http://img404.imageshack.us/i/spacehopper.png/)
you will need this freeware gif extraction tool:
http://www.evanolds.com/dl/GIFFrame.exe
and ill be using photoshop cs4 for everything else.
first go here:
http://www.gifmania.co.uk/comic/Superman/
and right click the rotating superman logo gif, choose 'save image as' and save it to your desktop.
open the gif with the gif frame extraction program, and choose 'save all' and save the 12 seperate images to your desktop.
http://img94.imageshack.us/img94/9771/18755935.png (http://img94.imageshack.us/i/18755935.png/)
from the 12 png images you now have, you only need 8, so i used frame 0,1,3,4,6,7,9,10,
rename them 1,2,3,4,5,6,7,8 and delete the 4 remaining frames from your desktop.
next open photoshop and drag the 8 images into there
http://img684.imageshack.us/img684/5524/10436486.png (http://img684.imageshack.us/i/10436486.png/)
select image 1, click the image tab at the top of the page and select 'canvas size' change it to 125x100 pixels
http://img339.imageshack.us/img339/6429/90045706.png (http://img339.imageshack.us/i/90045706.png/)
then again click the image tab and choose 'image size'
un-tick 'constrain proportions'
resize it to 48x48px
(repeat this for all 8 images)
http://img156.imageshack.us/img156/4859/90552019.png (http://img156.imageshack.us/i/90552019.png/)
next click: file, new, and make a new transparent image, size 384x48px, and name it: wmProgressIndicator
http://img249.imageshack.us/img249/3280/99521084.png (http://img249.imageshack.us/i/99521084.png/)
with the new image selected, click the, 'slice select tool'
in the bar above choose 'divide'
tick 'divide vertically into (8) slices across'
http://img691.imageshack.us/img691/9475/65272892.png (http://img691.imageshack.us/i/65272892.png/)
using the 'paint bucket tool' fill the background of your 8 images a light green color
http://img687.imageshack.us/img687/9396/76011592.png (http://img687.imageshack.us/i/76011592.png/)
then using the 'move tool' drag each of the 8 images into the progress indicator, starting with image 1, then 2, and so on
realign then using the arrow keys on your keyboard
http://img697.imageshack.us/img697/3820/99217870.png (http://img697.imageshack.us/i/99217870.png/)
when your finished, click 'view' tab, choose 'show', and untick 'slices'
(to turn off the slices view)
if any of your images are missaligned
http://img443.imageshack.us/img443/6974/67173065.png (http://img443.imageshack.us/i/67173065.png/)
use the layers box to select each layer and fine tune its position
http://img293.imageshack.us/img293/8784/76253639.png (http://img293.imageshack.us/i/76253639.png/)
next save the image to your desktop as a png
drag the new image back into photoshop
and use the 'magic eraser tool' to erase the green background
http://img697.imageshack.us/img697/7676/38219411.png (http://img697.imageshack.us/i/38219411.png/)
now you can save the final image!
it should now be called wmProgressIndicator.png
put it into usr/share/themes/*YOUR THEME*/images
and reboot phone
----------------------------------------------
another nice little touch is to make a wmMenuIndicator.png
from the first image
remove the green background from image 1 and resize it 24x24px,
then make a new transparent image 48x48px,
(name it wmMenuIndicator.png)
and drag the 24x24 icon into the 48x48 image
position it slightly to the left
then save the image
this also needs to go into usr/share/themes/*YOUR THEME*/images
http://img38.imageshack.us/img38/9265/94145708.png (http://img38.imageshack.us/i/94145708.png/)
the indicator and icon i made in this example are here if anyone wants them:
http://www.mediafire.com/file/gnljvzd4zte/superman.rar
http://img695.imageshack.us/img695/8103/tututu.png (http://img695.imageshack.us/i/tututu.png/)
*UPDATE*
a few more menu indicators i made with this method:
http://www.mediafire.com/file/dyy1wj42zmw/menu indicators.rar
http://img7.imageshack.us/img7/83/46600580.gif (http://img7.imageshack.us/i/46600580.gif/)
and my favourite, the skeleton on a spacehopper!
http://www.mediafire.com/file/5vuwlxnz3oy/skeleton spacehopper.rar
http://img404.imageshack.us/img404/2026/spacehopper.png (http://img404.imageshack.us/i/spacehopper.png/)