Support for XML layouts #13

Closed
iPaulPro opened this Issue Dec 2, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@iPaulPro

iPaulPro commented Dec 2, 2012

I've submitted a pull request for commit https://github.com/iPaulPro/android-flip/commit/76b2b361972b6bdd4f2ae75d74e82e2810e5af14, which adds the constructors needed to support the XML layout editor. It is now part of my outstanding pull, #10.

Users can add FlipViewController to their XML layouts like this:

<com.aphidmobile.flip.FlipViewController 
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    custom:orientation="horizontal" />

The custom:orientation is an optional custom parameter that controls the orientation of the flip. This defaults to vertical.

I've also updated the Demo project to include an example of FlipViewController used in XML.

@openaphid

This comment has been minimized.

Show comment
Hide comment
@openaphid

openaphid Dec 7, 2012

Owner

I've merged the pull request. Thanks

Owner

openaphid commented Dec 7, 2012

I've merged the pull request. Thanks

@openaphid openaphid closed this Dec 7, 2012

@Ni3Narale

This comment has been minimized.

Show comment
Hide comment
@Ni3Narale

Ni3Narale Dec 16, 2016

@iPaulPro Hello dude Please add example project I got 404 for link
and it is possible to refresh to pull down and end of the view load more..
if there is any solution pls forward the links..
thanks..

@iPaulPro Hello dude Please add example project I got 404 for link
and it is possible to refresh to pull down and end of the view load more..
if there is any solution pls forward the links..
thanks..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment