mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
結果のよみこみかたを変更
This commit is contained in:
parent
701bb898c5
commit
bbb7c38416
|
@ -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 -> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user