make the input box in the conversation view self-adjustable when entering longer text
This commit is contained in:
1 parent
2c9906336d
commit
aefaed2056
1 file changed
+2
@@ -81,6 +81,8 @@ public class ConversationView extends ScrollView {
|
||||
edittext.setText(text);
|
||||
edittext.setOnEditorActionListener(mEditorListener);
|
||||
edittext.setOnClickListener(mEditorListener);
|
||||
edittext.setHorizontallyScrolling(false);
|
||||
edittext.setMaxLines(Integer.MAX_VALUE);
|
||||
Bundle extras = edittext.getInputExtras(true);
|
||||
extras.putBoolean("show_language_toggle", false);
|
||||
mContent.addView(edittext);
|
||||
|
||||
Reference in new issue
Block a user