--- android/Side9/src/dk/thoerup/side9/Side9Config.java 2010/06/15 13:16:29 853 +++ android/Side9/src/dk/thoerup/side9/Side9Config.java 2010/06/16 07:40:59 854 @@ -40,7 +40,12 @@ CheckBox savetosd = (CheckBox) findViewById(R.id.savetosd); boolean save = prefs.getBoolean("saveimage", false); - savetosd.setChecked(save); + savetosd.setChecked(save); + + CheckBox showcaption = (CheckBox) findViewById(R.id.showcaption); + boolean show = prefs.getBoolean("showcaption", false); + showcaption.setChecked(show); + Spinner ontouch = (Spinner) findViewById(R.id.ontouch); ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.ontouchtargets, android.R.layout.simple_spinner_item); @@ -71,6 +76,9 @@ CheckBox savetosd = (CheckBox) findViewById(R.id.savetosd); boolean save = savetosd.isChecked(); + + CheckBox showcaption = (CheckBox) findViewById(R.id.showcaption); + boolean show = showcaption.isChecked(); Spinner ontouch = (Spinner) findViewById(R.id.ontouch); int ontouchsel = ontouch.getSelectedItemPosition(); @@ -79,6 +87,7 @@ Editor edit = prefs.edit(); edit.putBoolean("saveimage", save); + edit.putBoolean("showcaption", show); edit.putInt("ontouch", ontouchsel); edit.commit();