mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
make the input box in the conversation view self-adjustable when entering longer text
This commit is contained in:
@@ -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