CarouselView


Source link: https://github.com/binaryroot/CarouselView

CarouselView

This library is updated version of Android 3D Carousel.

List of changes:

  • Fixed touch gesture
  • Improved performance
  • Closed issue with battery life
  • Added opportunity to add layout content
  • New parameters for carousel view.

Optional for widget view:

/**  * Default min quantity of views.  */ static final int MIN_QUANTITY = 3;  /**  * Default max quantity of views.  */ static final int MAX_QUANTITY = 12;  /**  * Set diameter distortion, 1.0 = perfect circle  */ static final float DIAMETER_SCALE = 0.4f;  /**  * Rate to shrink objects as they appear further back in the depth field. Typical values 1.0,  * linear, 2.0 twice as fast.  */ static  final float DEPTH_SCALE = 0.8f;  /**  * Tilt angle, negative lifts up back, positive lowers back.  */ static float TILT = -0.3f;
 /**  * Limit depth scale used to shrink far objects to not fall below this minimum scale.  */ static final float MIN_SCALE = 0.4f;

 /**  * Max velocity for scrolling.  */ static final int MAX_SCROLLING_VELOCITY = 16000;  /**  * Max scrolling distance.  */ static final int MAX_SCROLLING_DISTANCE = 13;  /**  * Duration in milliseconds from the start of a scroll during which we're  * unsure whether the user is scrolling or flinging.  */ static final int SCROLL_TO_FLING_UNCERTAINTY_TIMEOUT = 100;  /**  * Duration in milliseconds from the start of animation to end.  */ static final int ANIMATION_DURATION = 200;  /**  * Default value for rotation scroll threshold.  */ static final int SCROLLING_THRESHOLD = 150;  /**  * Default min alpha value.  */ static final int MIN_ALPHA = 30;
 /**  * Defines default selected item.  */ static final int DEFAULT_SELECTED_ITEM = 0;  /**  * Configures size of items which are not in front.  */ static final int CAROUSEL_ITEM_Z_POSITION = 1;  /**  * Configures vertical shift of non-front items.  */ static final float CAROUSEL_ITEM_Y_POSITION= 1.0f; 

Resources

Use one line to apply almost famous libraries of proguard configurations.

RxDownloader is an RxWrapped Download Manager.

Simple JUnit rule for overriding RxJava/RxAndroid schedulers during unit tests.

A MultiScreen-Support-Library for Android.

A raised button that lowers down to 0dp of elevation.

Typer/writer TextView component.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes