Skip to content

Commit

Permalink
Updating README and screen shot
Browse files Browse the repository at this point in the history
  • Loading branch information
pakerfeldt committed May 11, 2011
1 parent 1cbab3f commit afc40c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,21 @@ If you need to listen to screen change events you would want to implement your o
}
});

### Flow Indicator
It is also possible to add a flow view indicator to your layout. The purpose of a `FlowIndicator` is to present a visual representation of where in the item list focus is at. You may either implement a `FlowIndicator` yourself or use an implementation provided by the View Flow library. Like so:

<org.taptwo.android.widget.CircleFlowIndicator
android:padding="10dip" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:id="@+id/viewflowindic"
android:background="#00000000"/>

And then you'll need to connect your `ViewFlow` with the `FlowIndicator`:
CircleFlowIndicator indic = (CircleFlowIndicator) findViewById(R.id.viewflowindic);
viewFlow.setFlowIndicator(indic);

## Contributions

* Eric Taix
* Marc Reichelt, <http://marcreichelt.blogspot.com/>

## License
Expand Down
Binary file modified viewflow-example/screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit afc40c1

Please sign in to comment.