前提・実現したいこと
2つのEditTextに、それぞれ苗字と名前を入力して、
OKボタンで保存。
同じページを開いた時、
保存された苗字と名前がEditTextに表示された状態。
発生している問題・エラーメッセージ
問題なく動くのですが、
EditTextをタップした時、エラーがでます。
E/View: hasTransientState decremented below 0: unmatched pair of setHasTransientState calls
該当のソースコード
<EditText android:id="@+id/editText1" android:layout_width="220dp" android:layout_height="wrap_content" android:layout_margin="@dimen/margin2" android:textColor="#333333" android:inputType="text" android:singleLine="true" android:imeOptions="actionNext" android:nextFocusForward="@+id/editText2" /> <EditText android:id="@+id/editText2" android:layout_width="220dp" android:layout_height="wrap_content" android:layout_margin="@dimen/margin2" android:textColor="#333333" android:singleLine="true" android:imeOptions="actionDone" android:inputType="text" />
試したこと
ここに問題に対して試したことを記載してください。
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
あなたの回答
tips
プレビュー