How can I put labels in a grid view?
Example: http://developer.android.com/design/building-blocks/grid-lists.html#with-labels
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
for the getView() method of the adapter , return a framelayout with an imageView , and a textview on the bottom (on top of the imageView) , similar to what’s written on the first chunk of code here .
you can use the inflater in order to use XML file for all of the thumbnails , if you wish, so that you can preview it on the visual editor.
also, for more information of views like the gridView ,watch this:
http://www.youtube.com/watch?v=wDBM6wVEO70
i know it’s about listView , but the ideas are the same.