This whole layout file (as well as the other ones in this commit) seems like it can be more efficient by using a TableLayout (https://developer.android.com/reference/android/widget/TableLayout.html) instead of a combination of LinearLayout and RelativeLayout.

GridLayout might be appropriate as well, but it's bit harder to use than TableLayout, so I'd recommend TableLayout.