set hardware acceleration to true for android