Wednesday, June 6, 2012

[Android:Xml]Android Layout TableView


This code is for set up the layout of the Android Application.

Two images will be post on the middle of screen in a line.

The size of images should be same, if you want to put it same with the picture below.


package ByungYong.sample.tableView;

import android.app.Activity;
import android.os.Bundle;

public class TableViewActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}


No comments: