Code example for RingtonePreference

Methods: setSummary

0
		} else if (key.equals("preference_language")) {
			listLanguage.setSummary(listLanguage.getEntry());
		} else if (key.equals("prefUsername")) {
			url.setSummary(url.getText());
		} else if (key.equals("ringtone")) {
			ring.setSummary("Ringtone selected");
		} 
 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java