Implements custom layout for inbox list items.