Code example for View

Methods: setLayoutParams, setOnTouchListener