Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
apradanas committed Nov 15, 2017
1 parent f57b92d commit b4546b1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ Call `prismojiTextView.setText` with the String that contains Unicode encoded Em

```
<com.apradanas.prismoji.PrismojiEditText
android:id="@+id/prismojiEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:emojiSize="26sp" />
android:id="@+id/prismojiEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:emojiSize="26sp" />
```
To open `PrismojiPopup`:

```
PrismojiPopup prismojiPopup = PrismojiPopup.Builder
.fromRootView(rootView)
.setOnSoftKeyboardCloseListener(new OnSoftKeyboardCloseListener() {
@Override
public void onKeyboardClose() {
prismojiPopup.dismiss();
}
})
@Override
public void onKeyboardClose() {
prismojiPopup.dismiss();
}
})
.into(prismojiEditText)
.build();
Expand Down

0 comments on commit b4546b1

Please sign in to comment.