MultiAutoCompleteTextView
をimeOptions
= "actionDone"で使用しています。 私はオートコンプリートとマルチラインであるためにテキストを必要としますので、inputType
を両方に設定しています。imeOptionsはMultiAutoCompleteTextViewおよびtextMultiLineで動作しません
キーボードが開くと、私が期待したとおりにDONE
ボタンが表示されないという問題があります。 inputType
を「テキスト」に変更すると、DONE
しか表示されません。
これは、フィールドが現在どのように見えるかです:
<MultiAutoCompleteTextView
android:id="@+id/recording_desc"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/transparent"
android:completionThreshold="2"
android:dropDownAnchor="@+id/autoCompletionArea"
android:dropDownSelector="@color/white"
android:imeOptions="actionDone"
android:inputType="textMultiLine|textAutoComplete"
android:maxLines="3"
android:popupBackground="@color/offwhite"
android:textColor="@color/text_color"
android:textSize="@dimen/sharing_description_text_size"/>
任意のアイデア私は、フィールドmutlilineの両方を持っていると私は期待どおりimeOptionsが仕事を得ることができ、これを修正する方法?
しないでください
いますが、それは助けなかった - キーボードはDONEアクションは表示されません。また、これにより、3行までのテキストを持つことができます。 : – drorsun
@drorsun私の編集した答えを試しましたか? –
'inputType'で' text'と 'autoComplete'を使って編集した答えを試しましたが、まだ動作していません - 私の質問に答えるのは3行。 – drorsun