Skip to content

Commit

Permalink
Update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLipan committed Sep 10, 2018
1 parent 83d0b1c commit 62eadcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;

import cn.jiguang.imui.chatinput.ChatInputView;
import cn.jiguang.imui.chatinput.listener.OnCameraCallbackListener;
Expand Down Expand Up @@ -90,7 +88,7 @@ public void initModule() {


// add Custom Menu View
mChatInput.getMenuManager().addCustomMenu("MY_CUSTOM",R.layout.menu_text,R.layout.menu_text_feature);
mChatInput.getMenuManager().addCustomMenu("MY_CUSTOM",R.layout.menu_text_item,R.layout.menu_text_feature);

// Custom menu order
mChatInput.getMenuManager().setMenu(Menu.newBuilder().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<TextView
android:id="@+id/menu_text_feature_tv"
android:layout_width="wrap_content"
android:textSize="50dp"
android:textSize="30dp"
android:layout_height="wrap_content"
android:text="TEXT"/>
android:text="CUSTOM MENU"/>

</cn.jiguang.imui.chatinput.menu.view.MenuFeature>

0 comments on commit 62eadcd

Please sign in to comment.