Re: [android-developers] add text to each image in gridview

2011-01-24 Thread subhashini alaguchokku
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);

RE: [android-developers] add text to each image in gridview

2011-01-20 Thread Trung Liem Vo
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