chop(findViewById(R.id.top_right)).isInRelative() .alignParentTop() .alignParentRight() .stick(); chop(findViewById(R.id.center)).isInRelative() .centerInParent() .stick(); chop(findViewById(R.id.below_center_align_left)).isInRelative() .below(R.id.center) .alignLeft(R.id.center) chop(findViewById(R.id.center_left_align_top)).isInRelative() .toLeftOf(R.id.center) .alignTop(R.id.center) textView.setText("BOTTOM CENTER HORIZONTAL"); textView.setId(R.id.bottom_center_horizontal); chop(textView).isInRelative(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT) .alignParentBottom() .centerHorizontal()