migrate android version to XImage class