Hi,
I have a form which is used to edit an object and when adding the
object I want the user to be able to select from a Spinner, but after
saving I'd like to use the same View, but in place of the Spinner have
a TextView. Is there a conditional option in the xml so if no Spinner
is set up it shows the TextView instead (and vice-versa)?
Sorta like:
<ListView android:id="@+id/android:list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/android:empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No Services Configured..."/>
In this case if the list is empty then the TextView shows... (at least
I think that's how it works :))
Cheers,
Julius.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---