Adapted to support Android 4.1 (1/2)