Im just starting out with Android and i am looking to create a form (i think its referred to as an activity) which has a listview and a button at the bottom of the screen. Knocking this kind of thing out on microsoft VS would take 5 mins, however with Android i cant seem to do it!
I can create a string array and bind it to a simple_List_item in a short time, which is great if i just want to display the list however it covers the entire screen including my button at the bottom.
How can i bind my string array to the listview i dragged onto the screen without using the simple_list_view.
The example below works but the simple_list_item covers the whole screen:
setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, Phones));
Or maybe i can adjust the size?
Thanks in advance