|
리비전 26, 486 bytes
(mefour에 의해 체크인됨, 16 년 전)
|
--
|
| Line | |
|---|
| 1 |
package soo.ui.array; |
|---|
| 2 |
|
|---|
| 3 |
import android.app.Activity; |
|---|
| 4 |
import android.os.Bundle; |
|---|
| 5 |
import android.widget.GridView; |
|---|
| 6 |
|
|---|
| 7 |
public class GridViewTest extends Activity { |
|---|
| 8 |
/** Called when the activity is first created. */ |
|---|
| 9 |
@Override |
|---|
| 10 |
public void onCreate(Bundle savedInstanceState) { |
|---|
| 11 |
super.onCreate(savedInstanceState); |
|---|
| 12 |
setContentView(R.layout.main); |
|---|
| 13 |
|
|---|
| 14 |
GridView gv = (GridView)findViewById(R.id.grildView01); |
|---|
| 15 |
gv.setAdapter(new ImgAdapter(this)); |
|---|
| 16 |
} |
|---|
| 17 |
} |
|---|