Doing WindowsManager and XML resource.