You are building the GridLayout grid programmatically. You have already created a TextView named tv; add it to the GridLayout grid, specifying a width of 200 and a height of 100.
Correct Answer:
Verified
Q20: Write a code that creates a GridLayout
Q21: Inside the onCreate method, we created a
Q22: Write a code that creates a button
Q23: Write a code that creates a TextView
Q24: Write a code that creates a 5
Q26: You have created the private class BH,
Q27: Write a code that checks whether the
Q28: LayoutParams is an inner class of GridLayout.
Q29: Write a code that sets the background
Q30: We want to define an area (a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents