I have implemented AutoCompleteTextView
, but in few devices (Mi and Samsung), it doesn't show options when the TextView is at the bottom of the screen.
NOTE: The Fields are dynamic, So I don't have option to move the view a bit above from bottom
image 3: check the correct here (Motorola device)
I tried:
- AutocompleteTextView suggestion list goes up
- Android : autocompletetextview, suggestion list displays above the textview?
- AppCompatAutoCompleteTextView
- Adding different
windowSoftInputMode
in Android Manifest
and many other things on StackOverflow, but nothing worked
my code
<AutoCompleteTextView
android:id="@+id/txt_drop_down"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:minHeight="@dimen/_40dp"
android:layout_weight="1"
android:background="@drawable/et_bottom_border"
android:completionThreshold="1"
android:gravity="center_vertical|start"
android:padding="@dimen/_10dp"
tools:text="Hello"
android:dropDownHeight="wrap_content"
tools:textColor="@android:color/black"
android:textAlignment="viewStart"
android:textColor="@android:color/white"
android:textSize="@dimen/_16sp"
tools:textSize="35sp" />