android res and android activity lifecycle is added