Home | History | Annotate | Download | only in fixedgridlayout
      1 package com.example.android.fixedgridlayout;
      2 
      3 import android.app.Activity;
      4 import android.os.Bundle;
      5 
      6 public class FixedGridLayoutTest extends Activity
      7 {
      8     /** Called when the activity is first created. */
      9     @Override
     10     public void onCreate(Bundle savedInstanceState)
     11     {
     12         super.onCreate(savedInstanceState);
     13         setContentView(R.layout.main);
     14 
     15         FixedGridLayout grid = (FixedGridLayout)findViewById(R.id.grid);
     16         grid.setCellWidth(80);
     17         grid.setCellHeight(80);
     18     }
     19 }
     20