user735855
user735855

Reputation: 173

android-how to put the text on the image in gridview

In my application, I'm using a gridview to display images, but I want to display the text on the images. Is this possible? If so, how can I implement it?

Thanks.

Upvotes: 0

Views: 568

Answers (1)

ThinkChris
ThinkChris

Reputation: 1179

Just give you a hint.

You must have seen "hello gridview" here: http://developer.android.com/resources/tutorials/views/hello-gridview.html

You just need to get a custom view (may be a LinearLayout) instead of a imageview in getview() in adapter.

Hope this help.

Upvotes: 1

Related Questions