Skip to content

😃Square emoticon with transitions for Android

Notifications You must be signed in to change notification settings

chfern/squaremoticon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squaremoticon Happy Logo Squaremoticon Sad Logo

squaremoticon

Android emoticon with facial expression transitions

How to Use

This library is available through jcenter and can be included as follow:

implementation "com.fernandochristyanto:squaremoticon:$version"

Current version: 1.0.0

Emoticon

  • CheerfulSquareEmoticon

    <com.fernandochristyanto.squaremoticon.CheerfulSquareEmoticon
          android:id="@+id/smiley"
          android:layout_width="120dp"
          android:layout_height="120dp"/>
    

    You can set the emoticon initial state by code smiley.setEmoticonState(emoticonState: Int)
    States:

    • CheerfulSquareEmoticon.EMOT_STATE_HAPPY
    • CheerfulSquareEmoticon.EMOT_STATE_SAD

    Transitions

    • smiley.animateSad(durationMillis: Long)
      Happy to Sad
    • smiley.animateHappy(durationMillis: Long)
      Sad to Happy

About

😃Square emoticon with transitions for Android

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages