I have a Login screen which consists of 2 EditTexts for Username and Password. My requirement is that on orientation change , input data(if any) in EditText should r
Give the element an id and Android will manage it for you.
android:id="@id/anything"