add android:popupBackground="@null" to the AutoCompleteTextView

On Wednesday, March 21, 2012 1:37:44 PM UTC+5:30, Android Developer wrote:
>
> Hi,
>
> I have autocompletetextview while tying its shows the list. how to i make 
> the list border as transparent.
>
> Code : 
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent"
>     android:orientation="vertical" >
>    
>      <AutoCompleteTextView android:id="@+id/autocomplete_country"
>          style="@style/InputBox"
>         android:layout_width="fill_parent"
>         android:layout_height="wrap_content"
>         android:layout_marginLeft="5dp"/>
>
> </LinearLayout>
>
>
>  ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
>                 android.R.layout.simple_dropdown_item_1line, COUNTRIES);
>
> i tried with :
>
> adapter.setDropDownViewResource(R.color.transparent);
>
>
>
> Thanks in Advance
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to