# ramotion/folding-cell-android

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/ramotion-folding-cell-android).**

4,887 stars · 834 forks · Java · MIT

## Links

- GitHub: https://github.com/Ramotion/folding-cell-android
- Homepage: https://www.ramotion.com/agency/app-development/
- awesome-repositories: https://awesome-repositories.com/repository/ramotion-folding-cell-android.md

## Topics

`android` `component` `java` `library` `material-design`

## Description

This is an Android folding animation library and Material Design component. It provides a reusable interface element that uses a three-dimensional paper-folding animation to reveal content, allowing users to toggle between a collapsed title and expanded information.

The library includes a folding content component with configurable settings for animation duration, background colors, flip counts, and camera depth. It implements these transitions through a custom view that manages the visual state between collapsed and expanded modes.

The underlying system utilizes OpenGL ES rendering and matrix-based coordinate transformations to simulate 3D spatial depth and physical bending. It employs frame-based interpolation and camera-depth simulation to maintain visual transitions during the fold.

## Tags

### Graphics & Multimedia

- [3D Folding Animations](https://awesome-repositories.com/f/graphics-multimedia/3d-folding-animations.md) — Provides a specialized library for implementing three-dimensional paper-folding transitions on Android.
- [3D Coordinate Transformations](https://awesome-repositories.com/f/graphics-multimedia/3d-coordinate-transformations.md) — Uses 3D coordinate transformations to simulate the physical bending and folding of a surface.
- [OpenGL 3D Pipelines](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/systems/gpu-accelerated-ui-rendering/3d-scene-renderers/opengl-3d-pipelines.md) — Employs an OpenGL ES pipeline to process 3D transformations and depth buffers for the folding effect.
- [Perspective Depth Simulations](https://awesome-repositories.com/f/graphics-multimedia/dynamic-depth-simulations/perspective-depth-simulations.md) — Implements virtual perspective and field-of-view adjustments to create a realistic 3D folding effect.

### Mobile Development

- [Android UI Components](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-ui-components.md) — Provides a custom reusable interface widget designed for the Android platform.
- [View Class Inheritance](https://awesome-repositories.com/f/mobile-development/custom-view-development/view-class-inheritance.md) — Extends the Android View class to implement custom drawing and touch handling for the folding animation.

### User Interface & Experience

- [Collapsible UI Components](https://awesome-repositories.com/f/user-interface-experience/collapsible-ui-components.md) — Provides a collapsible UI component that uses a 3D folding animation to toggle content visibility. ([source](https://cdn.jsdelivr.net/gh/ramotion/folding-cell-android@master/README.md))
- [Material Design Components](https://awesome-repositories.com/f/user-interface-experience/component-rendering-engines/material-design-components.md) — Implements Material Design principles and tactile standards through a specialized folding component.
- [Content Reveal Patterns](https://awesome-repositories.com/f/user-interface-experience/content-reveal-patterns.md) — Organizes information in limited screen space by toggling between summarized titles and detailed expanded content.
- [Design System Components](https://awesome-repositories.com/f/user-interface-experience/design-system-components.md) — Provides a reusable UI element that adheres to standardized design language guidelines for visual consistency.
- [Timeline-Based Interpolators](https://awesome-repositories.com/f/user-interface-experience/linear-interpolation-rendering/curve-based-property-interpolators/timeline-based-interpolators.md) — Calculates intermediate folding states based on a timeline to ensure smooth visual transitions.

### Part of an Awesome List

- [Card Components](https://awesome-repositories.com/f/awesome-lists/devtools/card-components.md) — Folding cell card component.
- [Card Layouts](https://awesome-repositories.com/f/awesome-lists/devtools/card-layouts.md) — Folding cell card component.
