LinearLayout update

Added a function for adding views to the parent layout to shorten the
amount of code needed to write.