All Projects → nipun-birla → Swipe3DRotateView

nipun-birla / Swipe3DRotateView

Licence: other
No description or website provided.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Swipe3DRotateView

Gemini
Gemini is rich scroll based animation framework for iOS, written in Swift.
Stars: ✭ 2,965 (+6795.35%)
Mutual labels:  animation-effects, animation-3d
MediaSliderView
Pure java based, highly customizable media slider gallery supporting both images and videos for android.
Stars: ✭ 85 (+97.67%)
Mutual labels:  swipeview
Dkchainableanimationkit
A DSL to make animation easy on iOS with Swift.
Stars: ✭ 1,907 (+4334.88%)
Mutual labels:  animation-effects
Htextview
Animation effects to text, not really textview
Stars: ✭ 5,309 (+12246.51%)
Mutual labels:  animation-effects
android-animations
Perform tweened animations such as Attention, Bounce, Fade, Flip, Rotate, Slide and Zoom on Views
Stars: ✭ 118 (+174.42%)
Mutual labels:  animation-effects
icon-patterns
Include animated CSS icon patterns in your background
Stars: ✭ 15 (-65.12%)
Mutual labels:  animation-effects
SwiftUI-DesignCode
 SwiftUI-DesignCode is some examples in the process of learning swiftUI 2.0
Stars: ✭ 185 (+330.23%)
Mutual labels:  animation-effects
SKChoosePopView
SKChoosePopView是一个HUD风格的可定制化选项弹窗的快速解决方案,集成了上、下、左、右、中5个进场方向的6种动画效果,如果不能满足你对酷炫效果的需要,SKChoosePopView同样支持自定义动画,以及选择记录、动画的开闭、点击特效、行列数量控制等
Stars: ✭ 70 (+62.79%)
Mutual labels:  animation-effects
pose-thumbnails
Blender add-on that adds thumbnails to a pose library.
Stars: ✭ 65 (+51.16%)
Mutual labels:  animation-3d
RavEngine
A fast, easy to use C++20 3D game library for modern computers
Stars: ✭ 122 (+183.72%)
Mutual labels:  animation-3d
Swipetableview
Both scroll horizontal and vertical for segment scrollview which have a same header. — 类似半糖、美丽说主页与QQ音乐歌曲列表布局效果,实现不同菜单的左右滑动切换,同时支持类似tableview的顶部工具栏悬停(既可以左右滑动,又可以上下滑动)。兼容下拉刷新,自定义 collectionview实现自适应 contentSize 还可实现瀑布流功能
Stars: ✭ 2,252 (+5137.21%)
Mutual labels:  swipeview
Placeholderview
This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
Stars: ✭ 2,104 (+4793.02%)
Mutual labels:  swipeview
React Native Tab View
A cross-platform Tab View component for React Native
Stars: ✭ 4,742 (+10927.91%)
Mutual labels:  swipeview
FocusOnXamarin
NET Conf: Focus on Xamarin samples
Stars: ✭ 55 (+27.91%)
Mutual labels:  swipeview
FavFighters
Xamarin.Forms goodlooking UI sample using the new SwipeView.
Stars: ✭ 32 (-25.58%)
Mutual labels:  swipeview
FlightBookingApp
Xamarin.Forms goodlooking UI sample using the new SwipeView.
Stars: ✭ 26 (-39.53%)
Mutual labels:  swipeview
react-native-viewpager-carousel
a flexible viewpager library with carousel functionality
Stars: ✭ 39 (-9.3%)
Mutual labels:  swipeview

Swipe3DRotateView Screenshot

Screenshot

Purpose

Swipe3DRotateView is a class designed to simplify the implementation of 3D Flip Rotation in android based on swipe gestures.

Swipe3DRotateView is extended from a Framelayout and should exactly contain 2 views as its children. It detects swipe gestures on its child view, and based on the swipe direction, rotates the children in a 3D manner on their X or Y axis.

Usage

Add dependency in your build.gradle(app)

dependencies {
    compile 'com.github.nipun-birla:Swipe3DRotateView:0.0.1'
}

Put Swipe3DRotateView in your layout as required :

<com.nipunbirla.swipe3drotateview.Swipe3DRotateView
    android:id="@+id/rotateView"
    android:layout_height="match_parent"
    android:layout_width="match_parent">

    //Put the backview as first child
    <FrameLayout
        android:layout_width="300dp"
        android:layout_height="300dp"
        android:layout_gravity="center"
        android:background="#934567">
    </FrameLayout>

    //Put the frontview as second child
    <FrameLayout
        android:layout_gravity="center"
        android:layout_width="300dp"
        android:layout_height="300dp"
        android:background="#134567">
    </FrameLayout>

</com.nipunbirla.swipe3drotateview.Swipe3DRotateView>

Find view in your activity as :

Swipe3DRotateView swipe3DRotateView = findViewById(R.id.rotateView);

To set if X Rotation is allowed :

swipe3DRotateView.setIsXRotationAllowed(true);

To set if Y Rotation is allowed :

swipe3DRotateView.setIsYRotationAllowed(true);

To check if X Rotation is allowed :

boolean isXAllowed = swipe3DRotateView.isXRotationAllowed();

To check if Y Rotation is allowed :

boolean isYAllowed = swipe3DRotateView.isYRotationAllowed();

To set Animation duration, default value is 1000 millis

swipe3DRotateView.setAnimationDuration(1000);

To set animation listener on view up front, use :

swipe3DRotateView.setHalfAnimationCompleteListener(halfListener);

To set animation listener on view at back, use :

swipe3DRotateView.setCompleteAnimationCompleteListener(fullListener);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].