Added LayoutDummy.
Added request case to getResource().