TextView has setText(String), but when looking on the Doc, I don’t see one for GridLayout. Is there an adapter or something that I need to use instead? If so, which one? Thanks in advance for any of the help.
Share
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.
GridLayoutis aViewGroup, to which you can only add views; if you want to make a calendar, it would be better to use aGridView.for the
GridView, create an adapter which extendsBaseAdapter, and useTextViewfor the grid’s layout. here is an example.