OtpView


Source link: https://github.com/anitaa1990/otpview

otpview

A custom view class to enter a four digit code which is used often these days for authentication.

How to integrate the library in your app?

Gradle Dependecy
dependencies {

compile 'com.an.otpview:otpview:0.1.0' 
}

Maven Dependecy

<dependency>
<groupId>com.an.otpview</groupId>
<artifactId>otpview</artifactId>
<version>0.1.0</version>
<type>pom</type> </dependency>

How to use the library

Add the below line to the root layout of your xml file:

xmlns:app="http://schemas.android.com/apk/res-auto"
.....

  <com.an.otpview

 android:id="@+id/otp_view"

 app:background_color="@android/color/black"

 android:inputType="number"

 app:otp_maxLength="1"

 app:otp_gravity="center"

 app:otp_textColor="@android:color/white"

 app:otp_textSize="@dimen/font_large"

 android:orientation="horizontal"

 android:layout_width="match_parent"

 android:layout_height="wrap_content" /> .....

Attributes includes:

Value Type
inputType android:inputType
otp_maxLength app:otp_maxLength
otp_gravity app:otp_gravity
otp_textColor app:otp_textColor
otp_textSize app:otp_textSize
background_color app:background_color
background_color app:background_color

That's pretty much it.

Resources

sweet-alert-dialog is a library to show beautiful alert dialogs.

Implementation of Ripple effect from Material Design for Android API 9+.

100% open source version of the popular Talon for Twitter app on Android.

hellocharts-android is a charting library for Android compatible with API 8+(Android 2.2). Works best when hardware acceleration is available, so API 14+ (Android 4.0) is recommended.

Features:

  • Line chart (cubic lines, filled lines, scattered points)
  • Column chart (grouped, stacked, negative values)
  • Pie chart
  • Bubble chart
  • Combo chart(columns/lines)
  • Preview charts (for column chart and line chart)
  • Zoom (pinch to zoom, double tap zoom), scroll and fling
  • Custom and auto-generated axes(top, bottom, left, right, inside)
  • Animations

EfficientAdapter is an efficient adapter to make the use of RecyclerView much easier.

android-GridViewWithHeaderAndFooter is a GridView with Header and Footer.

It's very simple to use it:

gridView.addHeaderView(header); gridView.addFooterView(footer);

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