Add the FixedGridLayout sample code.

This time with an Android.mk

P.S. Hi from Google I/O!
This commit is contained in:
Joe Onorato
2009-05-28 16:31:56 -07:00
parent 1cab4f589b
commit a42091afb7
8 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,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);
}
}