<RelativeLayout [ ... ] >
  <LinearLayout android:layout_width=”fill_parent”
                android:layout_alignParentTop=”true” 
                android:layout_height=”wrap_content”
                android:orientation=”vertical”>
    <EditText android:id=”@+id/address”
              android:layout_alignParentLeft=”true”
              android:layout_weight=”1” 
              android:layout_width=”fill_parent” 
              android:layout_height=”wrap_content” 
              android:text=”” />
    <Button android:id=”@+id/geoButton” 
              android:textSize=”18dp”
              android:layout_width=”wrap_content”
              android:layout_height=”wrap_content” 
              android:text=”Show” />
 </LinearLayout>

 <com.google.android.maps.MapView
    [ ... ]
    android:layout_height=”430dp”
    android:layout_alignParentBottom=”true”
    [ ... ]
</RelativeLayout>
This sets up a text entry box and a button to click next to it. For the code to handle them, head back to MyMap.java, and add the line setupGeocode() in onCreate(), then this method:
private void setupGeocode() {
  Button geoButton = (Button) findViewById(R.id.geoButton);
  geocoder = new Geocoder(this);
  geoButton.setOnClickListener(new OnClickListener() {
    @Override
    public void onClick(View v) {
      try {
        EditText addressBox = (EditText) findViewById(R.id.address);
        InputMethodManager imm = (InputMethodManager)
            getSystemService(Context.INPUT_METHOD_SERVICE);
        imm.hideSoftInputFromWindow(addressBox.getWindowToken(), 0);
        String address = addressBox.getText().toString();
        List<Address> addressList = geocoder.getFromLocationName(address, 1);
        if ((addressList != null) && (addressList.size() > 0 )) {
            gotoLocation(addressList.get(0));
        }
      } catch (IOException e) {
        e.printStackTrace();
      }
    } 
  });
}
Most of this is the standard boilerplate to handle a button click. The two InputMethodManager lines mean that once the button is clicked, the virtual keyboard will be hidden again (rather than hanging around and getting in the way of looking at the map).  
