Here is a simple example of using Gradient in Flutter. Here we are just showing a demo of how to use LinearGradient in Flutter. You can even use the RadialGradient or SweepGradient in the similar way. Watch Video Tutorial Here is the complete example of setting a LinearGradient in a Container. Please leave your valuable comments below.
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 this activity in… Read More »
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 is the java… Read More »
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
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 we have 4… Read More »
Have you seen the coverflow in iPhone. This is the Android implementation of CoverFlow. Please leave your comments if this article is helpful for you. Let’s see how. This is the CoverFlow class that extends the Gallery. Now the main activity that implements the coverflow. OK Done. Now go on and Run your project. Download the Complete android… Read More »