Contact Form

Name

Email *

Message *

Cari Blog Ini

Animating Views

Animating views

Introduction:

In this article we will take a look at how to show and hide a view in an Android Application.
The property animation system is a robust framework that allows you to animate properties such as the translation, scaling, rotation, and alpha of a view.

Hide a view:


To hide the view use the following code -
 view.animate()               .alpha(0.0f)               .setDuration(500)               .setListener(null); 


Comments