Android的 Emoji View 库:KitKatEmoji

jopen 9年前

KitKatEmoji是一个Android的 Emoji View 库,类似于Hangouts, Emoji TextView and Emoji EditText。

Usage

Emojicon EditText
<com.sithagi.kitkatemoji.EmojiconEditText                  android:id="@+id/txt_sentMessage"                  android:layout_width="match_parent"                  android:layout_height="wrap_content"                  android:textAppearance="?android:attr/textAppearanceMedium"                   />

Emojicon EditText
<com.sithagi.kitkatemoji.EmojiconEditText                  android:id="@+id/txt_sentMessage"                  android:layout_width="match_parent"                  android:layout_height="wrap_content"                  android:textAppearance="?android:attr/textAppearanceMedium"                   />

Emojicon TextView
<com.sithagi.kitkatemoji.EmojiconTextView                  android:id="@+id/txt_sentMessage"                  android:layout_width="match_parent"                  android:layout_height="wrap_content"                  android:textAppearance="?android:attr/textAppearanceMedium"                   />

EmojiView
<LinearLayout          android:id="@+id/footer_for_emojiicons"          android:layout_width="match_parent"          android:layout_height="@dimen/keyboard_height"          android:background="@android:color/transparent"          android:orientation="vertical"          android:visibility="gone">            <fragment              android:id="@+id/emojicons"              class="com.sithagi.kitkatemoji.EmojiconsFragment"              android:layout_width="match_parent"              android:layout_height="match_parent"              android:layout_marginTop="5dp"              android:requiresFadingEdge="none"              tools:layout="@layout/emojicons" />      </LinearLayout>

项目主页:http://www.open-open.com/lib/view/home/1442241141508