diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java index 709eaa62..88c87443 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java @@ -9,6 +9,7 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; +import android.widget.TextView; import one.nem.lacerta.source.pref.repository.Common; //TODO-rca: 名前変えるべきかも @@ -62,7 +63,8 @@ public class DebugSharedPrefEditorFragment extends Fragment { String key = loadKeyEditText.getText().toString(); String value = prefCommon.getStringValue(key); Log.d("loadButton", "key:" + key + " value:" + value); - view.findViewById(R.id.loadValueTextView).setContentDescription(value); + TextView loadValueTextView = view.findViewById(R.id.loadValueTextView); + loadValueTextView.setText(value); }); view.findViewById(R.id.saveButton).setOnClickListener(v -> {