Added adapter and ui layouts.