Skip to content

chfern/squaremoticon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f26dba Â· Oct 21, 2019

History

7 Commits
Sep 15, 2019
Sep 16, 2019
Sep 16, 2019
Sep 16, 2019
Sep 15, 2019
Sep 16, 2019
Sep 15, 2019
Sep 16, 2019
Oct 21, 2019
Sep 15, 2019
Sep 15, 2019
Sep 15, 2019
Sep 15, 2019
Sep 15, 2019

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