I am not sure whether i can achieve this or not. because its default list attributes i dont know how to change this.
On Wed, Mar 21, 2012 at 1:37 PM, Android Developer <c2dmdeveloper@gmail.com> 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment