Say you want a login screen with two text boxes and two buttons. And you want the buttons at the bottom of the screen. Here is how:
<?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" android:padding="10dip" > <EditText android:id="@+id/userName" android:layout_width="fill_parent" android:layout_height="wrap_content"
ComboBox is a very useful widget that allows user to type the text in or select from predefined list of options.