Android emoticon with facial expression transitions
This library is available through jcenter and can be included as follow:
implementation "com.fernandochristyanto:squaremoticon:$version"
Current version: 1.0.0
-
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