HTextView


Source link: https://github.com/hanks-zyh/HTextView

HTextView

Animation effects with custom font support to TextView

see iOS Effects


Screenshot

type gif
Scale
Evaporate
Fall
Line
Typer
Rainbow
Fade

Usage

def htextview_version = "0.1.2" // as 3.0 use implementation compile "com.hanks:htextview-base:$htextview_version"

  // base library  compile "com.hanks:htextview-fade:$htextview_version"

  // optional compile "com.hanks:htextview-line:$htextview_version"

  // optional compile "com.hanks:htextview-rainbow:$htextview_version"
  // optional compile "com.hanks:htextview-typer:$htextview_version"

 // optional  compile "com.hanks:htextview-scale:$htextview_version"

 // optional compile "com.hanks:htextview-evaporate:$htextview_version"
// optional compile "com.hanks:htextview-fall:$htextview_version"

  // optional 

line

<com.hanks.htextview.line.LineTextView
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:gravity="right"
  android:paddingRight="10dp"
  android:text="This is LineTextView\nToday is Monday"
  android:textSize="16sp"
  app:animationDuration="3000"
  app:lineColor="#1367bc"
  app:lineWidth="4dp"/> 

fade

<com.hanks.htextview.fade.FadeTextView
  android:layout_width="240dp"
  android:layout_height="150dp"
  android:gravity="left"
  android:letterSpacing="0.08"
  android:lineSpacingMultiplier="1.3"
  android:text="This is FadeTextView"
  android:textColor="#fff"
  android:textSize="20sp"
  app:animationDuration="1500"/> 

typer

<com.hanks.htextview.typer.TyperTextView
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:text="this is init sentence."
  app:charIncrease="3"
  app:typerSpeed="80"/> 

rainbow

<com.hanks.htextview.rainbow.RainbowTextView
  android:layout_width="120dp"
  android:layout_height="wrap_content"
  android:gravity="right"
  android:text="this is init sentence"
  android:textSize="20sp"
  app:colorSpace="150dp"
  app:colorSpeed="4dp"/> 

scale (single line)

<com.hanks.htextview.scale.ScaleTextView
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:text="this is init sentence"
  android:textSize="16sp"/> 

evaporate (single line)

<com.hanks.htextview.evaporate.EvaporateTextView
  android:layout_width="match_parent"
  android:layout_height="100dp"
  android:gravity="center"
  android:paddingTop="8dp"
  android:text="this is init sentence"
  android:textSize="20sp"/> 

fall (single line)

<com.hanks.htextview.fall.FallTextView
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:paddingBottom="20dp"
  android:text="this is init sentence"
  android:textSize="16sp"/> 

License

This library is licensed under the Apache Software License, Version 2.0.

See LICENSE for full of the license text.

Copyright (C) 2015 [Hanks](https://github.com/hanks-zyh)  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

SmartGL is a Graphic Engine for creating Android Games and Apps. It is based on OpenGL and handles 2D Sprites and 3D Textured Objects.

SmartGL is used by several games and apps.

AndroidGestureRecognizer is an Android implementation of the Apple's UIGestureRecognizer framework. https://developer.apple.com/reference/uikit/uigesturerecognizer

For more info about the ui gesture recognizers look this WWDC video https://developer.apple.com/videos/play/wwdc2012/233/

From Apple API reference:

UIGestureRecognizer is an abstract base class for concrete gesture-recognizer classes. A gesture-recognizer object—or, simply, a gesture recognizer—decouples the logic for recognizing a gesture and acting on that recognition. When one of these objects recognizes a common gesture or, in some cases, a change in the gesture, it sends an action message to each designated target object.

A Android sample that implements Redux architecture (using Fluxxan and Anvil) and NoSQL (using SnappyDB).

EasyFlow is a simple and lightweight Finite State Machine for Java

With EasyFlow you can:

  • implement complex logic but keep your code simple and clean
  • handle asynchronous calls with ease and elegance
  • avoid concurrency by using event-driven programming approach
  • avoid StackOverflow error by avoiding recursion
  • simplify design, programming and testing of complex java applications

DroidValidate is an annotation-based input validation library for Android.

A simple spannable string helper.

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