This example shows how to use horizontal gravity in a table layout.
super.onCreate(savedInstanceState); setContentView(R.layout.table_layout_11);