Android works differently compare to Linux or Windows. You still can achieve the layout as what you want if you configure these properties properly:LayoutParamHeightLayoutParamWidthPosRelativeToAnchorPosRelativeToParentTry to put only 2 items and set the value for the properties above to examine how it works.