All Projects → skymansandy → Typewriterview

skymansandy / Typewriterview

Licence: apache-2.0
Android library for typewriter like effects

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Typewriterview

Sequents
A simple continuous animation library for iOS UI.
Stars: ✭ 31 (-75%)
Mutual labels:  animations, animated, animation-library
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (+112.1%)
Mutual labels:  animations, animated, animation-library
LycricsTextView
No description or website provided.
Stars: ✭ 14 (-88.71%)
Mutual labels:  animated, textview
Attributedstring
基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.
Stars: ✭ 294 (+137.1%)
Mutual labels:  text, textview
Htextview
Animation effects to text, not really textview
Stars: ✭ 5,309 (+4181.45%)
Mutual labels:  animations, textview
smoothr
A custom React router that leverages the Web Animations API and CSS animations.
Stars: ✭ 28 (-77.42%)
Mutual labels:  animated, animation-library
scrollxp
Alpine.js-esque library for scrolling animations on websites
Stars: ✭ 50 (-59.68%)
Mutual labels:  animations, animation-library
Inputkit
📝InputKit, an Elegant Kit to limits your input text, inspired by BlocksKit, written in both Objective-C & ⚡️Swift.
Stars: ✭ 420 (+238.71%)
Mutual labels:  text, textview
Numericaltextentry
An iOS library for beautiful number entry fields. iPad friendly. Written in Swift.
Stars: ✭ 16 (-87.1%)
Mutual labels:  text, animated
Elixir cli spinners
Spinnig Animations for Command Line Applications
Stars: ✭ 117 (-5.65%)
Mutual labels:  animations, animation-library
Christmas Tree
ASCII christmas-tree with animations for 256 colored terminals
Stars: ✭ 23 (-81.45%)
Mutual labels:  animations, animated
CheckableTextView
A simple and flexible Checked TextView or Checkable TextView
Stars: ✭ 108 (-12.9%)
Mutual labels:  text, textview
STTextView
📝 STTextView is a light-weight library that adds a placeholder to the UITextView.
Stars: ✭ 36 (-70.97%)
Mutual labels:  text, textview
android-helpers
Android helpers collection
Stars: ✭ 20 (-83.87%)
Mutual labels:  animations, animation-library
Rnal
Animations library for react-native
Stars: ✭ 54 (-56.45%)
Mutual labels:  animations, animation-library
Xamanimation
Xamarin Forms Animation Library
Stars: ✭ 389 (+213.71%)
Mutual labels:  animations, animation-library
Dynamic.css
🚀 Awesome Library of CSS3 animations 🎉
Stars: ✭ 38 (-69.35%)
Mutual labels:  animations, animation-library
kinieta
A Fast Animation Engine with an Intuitive API
Stars: ✭ 44 (-64.52%)
Mutual labels:  animations, animation-library
Flightanimator
Advanced Natural Motion Animations, Simple Blocks Based Syntax
Stars: ✭ 588 (+374.19%)
Mutual labels:  animations, animation-library
Aaviewanimator
AAViewAnimator is a set of animations designed for UIView, UIButton, UIImageView with options in iOS, written in Swift.
Stars: ✭ 33 (-73.39%)
Mutual labels:  animations, animation-library

TypeWriterView

Download License MinSDK Android Arsenal Build Status

A simple Android library for typewriter like effects

Features:

  • Animate contents of textview as if it were typed by a TypeWriter
  • Set Animation Text appearance duration
  • Set TypeWriter sound effect (With or without sound)
  • Set Typing animation listeners (4 available)
  • Set all the usual attributes of TextView and style your view.

Demonstration

Demo TypeWriterView

Usage

Dependency:

dependencies {
     implementation 'in.codeshuffle:typewriterview:1.1.0'
}

XML Usage

<in.codeshuffle.typewriterview.TypeWriterView
       android:id="@+id/typeWriterView"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:textSize="30sp"
       android:textStyle="bold" />           

Java Usage

        //Create Object and refer to layout view
        TypeWriterView typeWriterView=(TypeWriterView)findViewById(R.id.typeWriterView);
        
        //Setting each character animation delay
        typeWriterView.setDelay(int);
        
        //Setting music effect On/Off
        typeWriterView.setWithMusic(boolean);
         
        //Animating Text
        typeWriterView.animateText(string);
        
        //Remove Animation. This is required to be called when you want to minimize the app while animation is going on. Call this in onPause() or onStop()
        typeWriterView.removeAnimation();

Listeners available

Implement the given interface and override these stuff:

          //Implement this to your class
          yourClass extends someBaseClass implements TypeWriterListener
          
          //then listen to callbacks
          typeWriterView.setTypeWriterListener(this)
            
          //animation starts with animateText()
          onTypingStart(String text);
          
          //animation typed one character (for each character)
          onCharacterTyped(String text, int position);

          //Animation is removed using removeAnimation()
          onTypingRemoved(String text);
          
          //Animation ends printing entire text
          onTypingEnd(String text);

Note

- The function animateText() if called with another string when already an animation is going on, will have no effect!!

License

 Copyright 2018 SkyManSandy

 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.

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].