Android - How to split a view in 4 equal parts? [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I'd like to take a screen, divide it to four squares in different colors and attach a click listener to them. My question is how do I split the screen to 4 equal squares. Thanks in advance! Dvir 回答1: Here is a