Have you try use mActivity to create the LaunchScreen and directly use resId?