/EmojiView

Create emoji with 3 mode (happy , normal , sad)

Primary LanguageJava

EmojiView

My first custom view that create Emoji with 3 mode (happy , normal , sad)

Usage

1 : Add below code to your gradle

dependencies {
   implementation 'com.github.alirezanazari.EmojiView:1.0.1'
}
allprojects {
   repositories {
   	...
   	maven { url 'https://www.jitpack.io' }
   }
}

2 : Add below code to your xml and customize it

   <iran.alirezanazari.emojiview.EmojiView
       android:id="@+id/em1"
       android:layout_width="250dp"
       android:layout_height="250dp"
       app:ev_emojiState="HAPPY" 
       app:ev_faceColor="@color/face_color"
       app:ev_eyesColor="@color/black"
       app:ev_mouthColor="@color/black"
       app:ev_borderWidth="30"
       app:ev_borderColor="@color/colorAccent" />

Screen Shot