結果のよみこみかたを変更

This commit is contained in:
r-ca committed 2023-12-11 11:55:23 +09:00
1 parent 701bb898c5
commit bbb7c38416
1 file changed
+3 -1
@@ -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 -> {