public class

GalleryFlowScale

extends GalleryFlowCover
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AdapterView<T extends android.widget.Adapter>
         ↳ android.widget.AbsSpinner
           ↳ android.widget.Gallery
             ↳ com.droidux.pack.gallery.widget.GalleryFlowCover
               ↳ com.droidux.pack.gallery.widget.GalleryFlowScale

Class Overview

A GalleryFlow widget with a linear flow that you can use to create a scale effect.

Summary

XML Attributes
Attribute Name Related Method Description
dux_scale setScale(float) Specifies the maximum scale factor of a view in a com.droidux.widget.gallery.GalleryFlowScale widget. 
[Expand]
Inherited XML Attributes
From class com.droidux.pack.gallery.widget.GalleryFlowCover
[Expand]
Inherited Constants
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class com.droidux.pack.gallery.widget.GalleryFlowCover
From class android.view.View
Public Constructors
GalleryFlowScale(Context context)
GalleryFlowScale(Context context, AttributeSet attrs)
GalleryFlowScale(Context context, AttributeSet attrs, int defStyle)
Public Methods
float getScale()
Gets the maximum scale that will be used to transform the view.
void setScale(float scale)
Sets the maximum scale that will be used to transform the view.
[Expand]
Inherited Methods
From class com.droidux.pack.gallery.widget.GalleryFlowCover
From class android.widget.Gallery
From class android.widget.AbsSpinner
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.GestureDetector.OnGestureListener
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface android.widget.AbsListView.RecyclerListener
From interface com.droidux.pack.gallery.interfaces.GalleryFlowInterfaces.GalleryFlowViewInterface

XML Attributes

dux_scale

Since: API Level

Specifies the maximum scale factor of a view in a com.droidux.widget.gallery.GalleryFlowScale widget.

Related Methods

Public Constructors

public GalleryFlowScale (Context context)

Since: API Level 2.5

public GalleryFlowScale (Context context, AttributeSet attrs)

Since: API Level 2.5

public GalleryFlowScale (Context context, AttributeSet attrs, int defStyle)

Since: API Level 2.5

Public Methods

public float getScale ()

Since: API Level 2.5

Gets the maximum scale that will be used to transform the view. The selected (center-lock) view of the gallery will have a scale of 1f.

Related XML Attributes
Returns
  • The ratio between the scaled view and the center/selected view.

public void setScale (float scale)

Since: API Level 2.5

Sets the maximum scale that will be used to transform the view. The selected (center-lock) view of the gallery will have a scale of 1f.

Related XML Attributes
Parameters
scale The ratio between the scaled view and the center/selected view.