FlipProgressDialog


Source link: https://github.com/Taishi-Y/FlipProgressDialog

FlipProgressDialog

Android ProgressDialog with Image Flip Animation like a Airbnb app.

Installation

Add it in your root build.gradle at the end of repositories:

dependencies {

compile 'com.taishi-y:flipprogressdialog:0.1.0' 
}

Usage

In Code (Java)

// Set imageList List<Integer> imageList = new ArrayList<Integer>();
 imageList.add(R.drawable.ic_favorite_border_white_24dp);
 imageList.add(R.drawable.ic_favorite_white_24dp);

FlipProgressDialog fpd = new FlipProgressDialog();
  fpd.setImageList(imageList);

// *Set a imageList* [Have to. Transparent background png recommended] fpd.setCanceledOnTouchOutside(true);

 // If true, the dialog will be dismissed when user touch outside of the dialog. If false, the dialog won't be dismissed. fpd.setDimAmount(0.0f);

  // Set a dim (How much dark outside of dialog)  // About dialog shape, color fpd.setBackgroundColor(Color.parseColor("#FF4081"));

// Set a background color of dialog fpd.setBackgroundAlpha(0.2f);

  // Set a alpha color of dialog fpd.setBorderStroke(0);

  // Set a width of border stroke of dialog fpd.setBorderColor(-1);

  // Set a border stroke color of dialog fpd.setCornerRadius(16);

 // Set a corner radius  // About image  fpd.setImageSize(200);

// Set an image size fpd.setImageMargin(10);

  // Set a margin of image  // About rotation fpd.setOrientation("rotationY");

  // Set a flipping rotation fpd.setDuration(600);

 // Set a duration time of flipping ratation fpd.setStartAngle(0.0f);

 // Set an angle when flipping ratation start fpd.setEndAngle(180.0f);

 // Set an angle when flipping ratation end fpd.setMinAlpha(0.0f);

// Set an alpha when flipping ratation start and end fpd.setMaxAlpha(1.0f);

// Set an alpha while image is flipping
fpd.show(getFragmentManager(),"");

// Show flip-progress-dialg fpd.dismiss();

  // Dismiss flip-progress-dialg

Developed By

Taishi Yamasaki 

How to Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright 2017 Taishi Yamasaki  Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License. You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 

Resources

PrettySharedPreferences is a lightweight library for help you deal with SharedPreferences more easy and reduce most of boilplace code.

Features:

  • Easy to use
  • Reduce a lot of boilerplate code

Switch Button with Material Design.

AKParallax-Android is a library project that provides a parallax effect to an ImageView in a ScrollView or a ListView.

This is a simple showcase to show off some cool new stuff which is (new) in Android Lollipop.

This includes features like:

  • Toolbar
  • RecyclerView
  • CardView
  • ActionBarDrawerToggle
  • Animations (Including animations for the RecyclerView)
  • Floating Action Button (FAB)
  • RippleDrawables
  • Android Compat Theme
  • DrawerLayout

Golgi's robust Mobile Cloud Service simplifies application connectivity and data transport so developers can focus on building great app experiences.​

Features:

  • Mobile Cloud Service
  • Intelligent Delivery Engine
  • Developer Defined Data Contract
  • Multi-Layered Security
  • Cross-platform (Android/iOS/J2SE/JavaScript)

Divide.io is an open source Backend-as-a-Service (BaaS). It provides tools to easily, securely, and efficiently communicate between your app and a server. It handles data storage, user registration & management, and push notifications.

Deploy anywhere. Use any database you want. Never get locked into a platform.

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