修复parent是LinearLayout出错bug，父为非LinearLayout和RelativeLayout，则抛出异常