Adding activated attribute for android.View.