Tag Archives: Animation

Using a ListBox, Dynamically adding contents to a listbox in Windows Phone

By | June 29, 2013

This post shows how to add string objects to a ListBox Control in Windows Phone. Make sure to choose a C# template for the project. This is the layout . This is the complete Layout Just change the class name in the root of the layout to yours. Now we will look at the code.

How to create a fully customizable Toast which will use your own time duration and gravity and layout with ease without using the default toast in android?

By | June 24, 2013

Hello all We all have seen toasts right…ok then you have already customized your toasts right. Here I will show you a method to create toasts which will last the time you set and the gravity. You can download the code by clicking on the download links. This is the class that creates the toast… Read More »

Wave Scale Animation in GridViews in Android

By | May 28, 2013

Hello all Previously I have shown many posts where we animate each row of the GridView randomly, linearly etc. GridView RandomFade animation in Android and Cascade animation in a ListView in Android. In today’s post I will show you how to create a wave scale animation in the ListViews. Please refer to my old posts… Read More »

How to create a beautiful wheel animation in android?

By | May 18, 2013

Today’s post is about animation, a beautiful animation, exploring capabilities of android. You can click on the link to download the code. Here we will have three java classes and no XML files. 1. GraphicsActivity.java 2. PictureLayout.java 3. Sweep.java At first we start with PictureLayout.java Now our second java file, GraphicsActivity.java No need to declare… Read More »

How to use ImageSwitcher in Android?

By | May 12, 2013

You can read more about ImageSwitcher here http://developer.android.com/reference/android/widget/ImageSwitcher.html Click on the link below to download the code. This is the layout that contains the ImageSwitcher What we will do is we will load some images into the Gallery and then load each image into the ImageSwitcher on clicking on each item in the Gallery. Here… Read More »

ListView Bottom to Top Animation in Android.

By | May 10, 2013

Like my previous posts animation chapter is again continued. This time the animation in on a ListView from Bottom to Top. You have already seen animations from Top to Bottom in my previous posts. See some of my posts here. All animation posts from CoderzHeaven is here Click on the download link at the bottom… Read More »

Creating a Drawable animation in Android.

By | May 3, 2013

This is a simple example of how to animate a drawable in Android. This example is from the official android demo applications. Here we have 5 java classes. AnimateDrawable.java AnimateDrawables.java GraphicsActivity.java PictureLayout.java ProxyDrawable.java AnimateDrawable.java AnimateDrawables.java GraphicsActivity.java PictureLayout.java ProxyDrawable.java Download the complete source code from here Join the Forum discussion on this post

GridView RandomFade animation in Android

By | May 1, 2013

In some of my older posts I have already showed a lot of animations on ListView and GridViews. Search coderzheaven for ListView and GridView animations if you want to see the articles and posts. This is also yet another post on animation. Here what I will do is create an animation in a GridView such… Read More »

Different types of Animation – Push Up in, Push Up Out, Push Left in, Push Left Out, HyperSpace In, HyperSpace Out in a ViewFlipper in Android.

By | April 22, 2013

Hello all…. This is going to be a big post.. Check out my previous post for a rotate3D animation between a ListView and an Image. How to create a rotate 3D Animation between a ListView and an ImageView in Android? Today I will show you different types of Animations using ViewFlipper in a textView. Here… Read More »

How to create a blinking text in Android?

By | September 13, 2012

Hello everyone… Here I am explaining two methods on how to create a blinking textview in Android. One with the help of Animation class and other with a Logic. Now let’s see that.. Place a textview with an id of “tv” in your layout and attempt this. Download the complete android source code from below.… Read More »

Page Navigation in Windows Phone

By | March 16, 2012

Hello everyone… This is my first post on windows phone. I have just started windows mobile programming. In this post I will show you how to go from one Page to another in windows. First I am creating a C# project and in the MainPage.xaml Open the phone interface and then drag a button into… Read More »

How to show a sliding window from below in Android?

By | December 22, 2011

Hello everyone, I have already showed you how to use a SlidingViewer to create a slidingWindow. Today I will show another way to create such a window with the help of animation. Please check one of my previous posts to do this in another way. How to show a sliding window from below in Android?… Read More »

How to change the default transition between activities?

By | October 26, 2011

In android the default transition between activities is to slide from left to right. But with custom animations we can change that. First create a folder inside the res/drawable folder called “anim”. Then create a file named “fade.xml” and copy this code into it. create another file named “hold.xml” in the same place hold.xml. activity_animation.xml… Read More »

Simple View Animation in ANDROID?

By | June 11, 2011

Hi all….. In this post I will show you a simple animation using a textView. It’s really simple. Steps. 1. Create a fresh project and copy this java code into it. 2. Create a folder named “anim” inside the res folder and create a file named “animation.xml” and copy this code into it. 3. copy… Read More »

Android frame Animation

By | April 23, 2011

A series of frames is drawn one after the other at regular intervals. For this create a xml which contains ImageView for showing the animation The main java file is Next the main part, an xml which holds each image and duration in which each image shows. The xml should be placed inside drawable folder… Read More »