Hi this is example code for your doubt:
public class GridImg extends Activity {
public static Integer[] DATA =
{R.drawable.page1,R.drawable.page2,R.drawable.page3,R.drawable.page4};
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Hi,
Your code is correct.
Can you use each item contain imageview and textview. So your image will
have the label.
Best regards,
Trung Liem Vo
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of pramod.deore
Sent: Thur
2 matches
Mail list logo