Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Support for XML layouts #13

Closed
Closed
@iPaulPro

Description

@iPaulPro

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions