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

This commit is contained in:
ろむねこ 2023-12-11 11:55:23 +09:00
parent 701bb898c5
commit bbb7c38416
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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 -> {