Code example for LinearLayout

Methods: addViewsetGravitysetOrientation, setBackgroundResource, setClickable, setFocusable, setLayoutParams, setOnClickListener