I've used a spinner with a Base Adapter.  The spinner works fine and I can
make selections, my question is:

When I'm not making a selection the spinner shows as an empty box with a
down arrow, once I've made a selection the list is removed but the spinner
still shows empty, shouldn't it show the current / last selection ?

The XML for my spinner looks like this:

        <Spinner android:id="@+id/spCategories"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_below="@+id/ivFolder"
                    android:focusable="true"
                    android:focusableInTouchMode="true"
                    android:isScrollContainer="true"/>

The ivFolder looks like:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
                     android:layout_width="fill_parent"

 android:layout_height="?android:attr/listPreferredItemHeight"
                     android:padding="10dp">
    <TextView android:id="@+id/tvFolder"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                 android:text="File-name"
                android:textColor="@color/black"
                android:gravity="left"/>
</RelativeLayout>

Thank you,

-- 
Regards,
Sy

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

Reply via email to