Code example for Spinner

Methods: setAdapter, setLayoutParams, setOnItemSelectedListener