<ListPreference android:entries="@array/sever_urls"
android:key="select_server" android:title="@string/select_server"
android:summary="@string/select_server" android:entryValues="@array/sever_urls_values" android:defaultValue="@array/sever_urls"></ListPreference>
需要注意的是edit.putString(Globals.PERS_KEY_SELECT_SERVERS,""+ 0);,不能按 int类型来处理。