2016-11-30 3 views
0

내 자동 완성 텍스트 뷰 제안이 자동 완성 텍스트 뷰를 숨기는 이유를 알고 싶습니다. 더 나은 이해를 위해 그림을 첨부하고 있습니다.
enter image description hereAutocompleteTextview 필드를 부분적으로 숨기는 자동 완성 제안

<AutoCompleteTextView 
     android:id="@+id/current_location" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     android:background="@drawable/round_background_white" 
     android:layout_marginLeft="5dp" 
     android:layout_marginRight="5dp" 
     android:paddingLeft="5dp" 
     android:completionThreshold="1" 
     android:dropDownHeight="80dp" 
     android:dropDownWidth="wrap_content" 
     android:singleLine="true" 
     android:focusable="true" 
     android:textColor="#000000" 
     android:textColorHint="#000000" 
     android:dropDownListViewStyle="@style/DropDownListViewStyle"/> 

Style.xml : 인해 round_background_white 사용자 정의 당김에

<style name="DropDownListViewStyle"> 
     <item name="android:dividerHeight">2dp</item> 
    </style> 
+0

사진에 textView가 보이지 않습니다. 그것은 그림에 표시됩니다 –

+0

@ VladMatvienko 제안은 autocompltetextview 필드 위에오고 있습니다 –

+0

나는 ** 아래 ** 이미지에 참조하십시오. 위. –

답변

0

그것은 아마.
height & padding을 충분히 지정했는지 확인하십시오.
round_background_white도 여기에 게시하십시오.

관련 문제