Be sure to set android:key to the preference key that you want to store the language code in. For android:title, provide a value from your string resources, which will be used as the preference's ...