Quick Action


Source link: https://github.com/piruin/quickaction

Quick Action

Quick Action is a small android library for easy create Tooltips with some action or just as decoration. folk from NewQuickAction3D by Lorensius W. L. T.

Not just a Tooltips, This a Tooltips with Action!.

Because NewQuickAction3D is design of Android 2.x. So, I change it's style to fit with Material Design but still compatible with old java source code interface, Refactor, Transform to Gradle project and publish to JCenter.

Demo

Download

JCenter

  • Step 1 - set JCenter repository (This step not require for modern android project)
  • Step 2 - Add dependencies on app module
dependencies {

compile 'me.piruin:quickaction:LATEST_VERSION' 
}

Change LATEST_VERSION to latest version name

JitPack

  • Step 1 - Set JitPack repository
allprojects {

repositories {

 ...

 maven {
 url "https://jitpack.io" 
}

  
}

}
  • Step 2 - Add dependencies on app module
dependencies {

compile 'com.github.piruin:quickaction:LATEST_VERSION' 
}

Change LATEST_VERSION to latest version name

Maven Central

No, I'm not publish to Maven Central

How to Use

See SampleActivity for Information how to use

QuickAction almost use same old NewQuickAction3D interface. Original ExampleActivity by Lorensius W. L. T still work and cover main part of it. You can get more information at his blog http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/

New Feature

My QuickAction have some additional feature more than original

Style

Background Color

  //Popup color
quickAction.setColorRes(R.color.pink) //set by Color Resource
quickAction.setColor(Color.WHITE) // or by Color class

Text Color

  //Text color
quickAction.setTextColorRes(R.color.red)
quickAction.setTextColor(Color.Black)

NOTE! setTextColor apply only ActionItem that added afterward.

Divider

Since 2.4 Control divider visibility and color by milap tank

  quickAction.setEnabledDivider(true);

quickAction.setDividerColor(Color.WHITE);

By default, Divider is enable for Horizontal and disable of Vertical

Override Resouce

Since 2.4 android Dimen and Color resource of QuickAction marked as public, So you can override it on resource file in your project

  <dimen name="quick_action_icon_size">@dimen/menu_icon_size</dimen>
<dimen name="quick_action_arrow_width">40dp</dimen>
<dimen name="quick_action_arrow_height">40dp</dimen>
<dimen name="quick_action_corner">@dimen/card_corner</dimen>
<dimen name="quick_action_shadow_size">@dimen/card_corner</dimen>
<dimen name="quick_action_separator_width">@dimen/list_separator_size</dimen>
<color name="quick_action_shadow_color">@color/primary_color_dark</color>

Quick Intent Action

To lazy create list of Activity or Service that match with your Intent

  Intent intent = new Intent(Action.VIEW) // intent your want to start
QuickAction quickIntent = new QuickIntentAction(this)
  .setActivityIntent(intent)
  .create();

Developer By

Original Developer

Changes

See CHANGELOG for details

License

This project under Apache 2.0 license

Notice

Project/File License Copyright
NewQuickAction3D Apache 2.0 Copyright 2011 Lorensius W. L. T
ArrowDrawable.java MIT Copyright (c) 2016. Vi?t@r?

Resources

This is a wrapper that makes getting weather information from OpenWeatherMap a whole lot easier. What seperates this from other wrappers is that in addition to the basic weather information, it allows free openweathermap user to get up to 5 days of daily forecast information, which typically requires a developer account with OpenWeatherMap(180USD/month). Please note that this is not a hack, instead the library calculates the 3-hour forecast information that free users get, summarize those values, and return it as daily forecast.

Weather Android App using apixu API.

Matisse is a well-designed local image and video selector for Android. You can

  • Use it in Activity or Fragment
  • Select images including JPEG, PNG, GIF and videos including MPEG, MP4
  • Apply different themes, including two built-in themes and custom themes
  • Different image loaders
  • Define custom filter rules

Meepo is a retrofit-like router generator for Android. You can use it to create routers for Activities, Fragments and even any things.

Use multiple analytics and other trackers in your Application easily.

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.

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