summaryrefslogtreecommitdiff
path: root/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/FixedGridLayoutTest.java
blob: 19c9da7dcae1cdc49de34cca9e54cd8a03e0cb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.example.android.fixedgridlayout;

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

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

        FixedGridLayout grid = (FixedGridLayout)findViewById(R.id.grid);
        grid.setCellWidth(80);
        grid.setCellHeight(80);
    }
}