public void setThemeType ( ThemeType themeType ) { if ( themeType == ThemeType . ACTIVITY ) { setTheme ( android . R . style . Theme_Holo_Light ) ; } else if ( themeType == ThemeType . DIALOG ) { setTheme ( android . R . style . Theme_Holo_Light_Dialog ) ; } else if ( themeType == ThemeType . DIALOG_NO_ACTION_BAR ) { setTheme ( android . R . style . Theme_Holo_Light_Dialog_NoActionBar ) ; } }
Sets the theme for this activity