2016-11-30 2 views
0

Je veux savoir pourquoi ma suggestion de saisie de texte autocomplete masque la saisie de texte automatique, je joins l'image pour une meilleure compréhension.
enter image description hereSuggestion de saisie semi-automatique masquant le champ AutocompleteTextview partiellement

<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:

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

Je ne vois pas qu'il cache un textView sur l'image. Il est visible sur l'image –

+0

@VladMatvienko suggestion vient au-dessus du champ autocompltetextview –

+0

Je vois c'est ** ci-dessous ** sur l'image. Pas au dessus. –

Répondre

0

Il est probablement dû à la coutume drawable round_background_white.
Assurez-vous que vous spécifiez suffisamment height & padding dedans.
Publiez également votre round_background_white ici.