AppIntroAnimation


Source link: https://github.com/TakeoffAndroid/AppIntroAnimation

AppIntroAnimation

AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is very easy to use and customize without adding third party library integrations.

Demo I Demo II

Demo I Enable private boolean isSliderAnimation = false; in MainActivity.java to apply this background pager transformation animation with Image translation effect..

Demo II Enable private boolean isSliderAnimation = true; in MainActivity.java to apply this background pager transformation animation without Image translation effect..

How to use

STEP 1:

Download the code and open arrays.xml.

<?xml version="1.0" encoding="utf-8"?> <array name="landing_bg">
  <item>@color/light_green</item>
  <item>@color/light_purple</item>
  <item>@color/light_orange</item>
  <item>@color/light_cyan</item> </array>  <array name="icons">
  <item>@drawable/email</item>
  <item>@drawable/calendar</item>
  <item>@drawable/shopping</item>
  <item>@drawable/socialnetwork</item> </array>  <string-array name="titles" >
  <item>@string/email</item>
  <item>@string/calender</item>
  <item>@string/shopping</item>
  <item>@string/social_network</item> </string-array>  <string-array name="hints" >
  <item>@string/email_hint</item>
  <item>@string/calender_hint</item>
  <item>@string/shopping_hint</item>
  <item>@string/social_network_hint</item> </string-array> 

Here I have added 4 slides with images, titles and title hints. You can update your png's, text content in above arrays.xml as per your project need and requirement.

Note: The array count of images, titles and title hints should be of same count to avoid IndexBoundException.

STEP 2:

Drop all your images that are to be used for making AppIntro's into drawable folders. To get exact output for multiple resolution and sizes, add scaled images seperately for drawable-xxxhdpi, drawable-xxhdpi, drawable-xhdpi, drawable-hdpi, drawable-mdpi etc., and fix the height and width of ImageView in viewpager_item.xml

Customization

To customize pager attributes like indicator stroke size, stroke color, solid color, solid size, solid color, selected color and unselected color, please open vpi_defaults.xml and customize according to your wish.

Following are the attributes that I have used in my project demo, you can also customize your own.

<resources>
  <bool name="default_circle_indicator_centered">true</bool>

<color name="default_circle_indicator_fill_color">#FFFFFFFF</color>  <!--change fill color-->
  <color name="default_circle_indicator_page_color">#40FFFFFF</color>  <!--change indicator un selected fill color-->
  <integer name="default_circle_indicator_orientation">0</integer>

<dimen name="default_circle_indicator_radius">3dp</dimen> <!--change radius of the circle-->
  <bool name="default_circle_indicator_snap">false</bool>

<color name="default_circle_indicator_stroke_color">#40FFFFFF</color> <!--change stroke color-->
  <dimen name="default_circle_indicator_stroke_width">1dp</dimen> <!--change stroke width--> </resources> 

The app which inspired me to create this repos

  • Background color transformation animation used in Google Inbox intro screen.
  • Image translation animation used in Duolingo intro screen.

Resources

Awesome Library for VideoCompression Compressing 25Mb videofile to 1Mb

This library provides an easy to use API for switching between fragments that share the same container. Implementing tabs, such as the ones Instagram has at the bottom of the layout, is a much simpler goal to achieve when using TabController.

Tabs can be switched by using either show/hide or attach/detach. You can even provide your own implementation of the way tabs are being shown.

WCViewPagerIndicators It is an android library that allows developers to have a viewpager with the attribute layoutheight = "wrapcontent", in addition to include in the bottom a page indicator (API 16 or higher)

Google Primer Intro Animation.

Eliminates need to create a static function to initialize a fragment and bind the arguments.

Jsonsurfer is dedicated in processing big and complicated json data with three major features.

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