Android AutoCompleteTextView Example

In android, we can show a string items in autocompletetextview. So that items will display according to the characters we have give. Ex:- If we are giving 'an' it will show all the items starts with 'an'.

Android Listview Example

Here we are going to see about a simple listview example using String arrays to display in list.

Android Spinner Example

In Android, Spinner is nothing but a combo box or list box.

It lets you viewing multiple items and allows you to select one item from the list.

Edit Your XML code like this

[sourcecode language="css"]
<Spinner android:id="@+id/Spinner01"
android:layout_height="wrap_content" />

Your Java Class code should look like this

[sourcecode language="java"]
public class SpinnerExample extends Activity {
private String array_spinner[];
public void onCreate(Bundle savedInstanceSta

Syndicate content