Adds the ability to flip horizontally #6

Merged
merged 3 commits into from Nov 9, 2012

Conversation

Projects
None yet
2 participants
@alexmedearis

Adds a simple optional parameter to FlipViewController to toggle horizontal or vertical flipping.

Old constructor:
public FlipViewController(Context context) {

New constructor:
public FlipViewController(Context context, boolean orientationVertical);

+ }
+
+
+ public FlipViewController(Context context, boolean orientationVertical) {

This comment has been minimized.

@openaphid

openaphid Nov 9, 2012

Owner

How about changing it to FlipViewController(Context context, int orientation)? The valid values of orientation could be the constants you've already declared.

@openaphid

openaphid Nov 9, 2012

Owner

How about changing it to FlipViewController(Context context, int orientation)? The valid values of orientation could be the constants you've already declared.

openaphid added a commit that referenced this pull request Nov 9, 2012

Merge pull request #6 from alexmedearis/master
Adds the ability to flip horizontally

@openaphid openaphid merged commit c5ebcc9 into openaphid:master Nov 9, 2012

openaphid pushed a commit that referenced this pull request Nov 9, 2012

Aphid Mobile
Merge branch 'master' into develop with pull request #6
Conflicts:
	FlipView/Demo/AndroidManifest.xml
	FlipView/Demo/src/com/aphidmobile/flip/demo/MainActivity.java
	FlipView/FlipLibrary/src/com/aphidmobile/flip/FlipCards.java
	FlipView/FlipLibrary/src/com/aphidmobile/flip/FlipViewController.java
@openaphid

This comment has been minimized.

Show comment
Hide comment
@openaphid

openaphid Nov 9, 2012

Owner

@alexmedearis

I also found a minor issue about the incorrect rendering of shadow in horizontal mode.
Please refer to issue #7 for more details.

Thanks for your contribution!

Owner

openaphid commented Nov 9, 2012

@alexmedearis

I also found a minor issue about the incorrect rendering of shadow in horizontal mode.
Please refer to issue #7 for more details.

Thanks for your contribution!

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