Dynamic layout converted to Fragment.
Needs cleaning and brushing.