English | Site Directory

Android - An Open Handset Alliance Project

android.widget
public class

android.widget.ViewFlipper

java.lang.Object
android.view.View Drawable.Callback KeyEvent.Callback
android.view.ViewGroup ViewManager ViewParent
android.widget.FrameLayout
android.widget.ViewAnimator
android.widget.ViewFlipper

Shows only one child at a time. Will automatically flip between children if you ask.

Also see ViewGroup.LayoutParams for layout attributes.

Summary

XML Attributes inherited from class android.widget.FrameLayout
XML Attributes inherited from class android.view.ViewGroup
XML Attributes inherited from class android.view.View
Constants inherited from class android.view.ViewGroup
Constants inherited from class android.view.View
Fields inherited from class android.widget.ViewAnimator
Fields inherited from class android.widget.FrameLayout
Fields inherited from class android.view.ViewGroup
Fields inherited from class android.view.View

Public Constructors

          ViewFlipper(Context context)
          ViewFlipper(Context context, AttributeSet attrs, Map inflateParams)

Public Methods

        boolean  isFlipping()
Returns true if the child views are flipping.
        void  setFlipInterval(int milliseconds)
How long to wait before flipping to the next view
        void  startFlipping()
Start a timer to cycle through child views
        void  stopFlipping()
No more flips
Methods inherited from class android.widget.ViewAnimator
Methods inherited from class android.widget.FrameLayout
Methods inherited from class android.view.ViewGroup