Fixed
Status Update
Comments
ar...@google.com <ar...@google.com> #2
We have passed this defect on to the development team and will update this issue with more information as it becomes available.
gr...@pocketmatter.com <gr...@pocketmatter.com> #3
I agree that the tab focus sequence is incorrect and also that the eye icon state seems to be reversed.
ar...@google.com <ar...@google.com>
gr...@pocketmatter.com <gr...@pocketmatter.com> #4
@aramas I installed API 25.1.1 and have verified that the tab focus is now correct. But the "eye" icon logic is still reversed (i.e. the eye should be crossed out when you want to hide the password). You can check this with the web versions and past implementation in Android.
Description
Version used: 25.1.0
Theme used: Theme.Design.Light.NoActionBar
Devices/Android versions reproduced on: Nexus 5x API 25 emulator (latest) on macOS Sierra 10.12.1
In r25.1.0, using the physical laptop keyboard "Tab" button to navigate, the "eye" icon gets focus first instead of the password EditText.
This does not happen in r25.0.1
Current: the focus is on the eye, then next "Tab" focuses on the password EditText (refer attachment 1 -> 2 -> 3)
Expected: the focus should be on the edittext first THEN the eye (image: 1 -> 3 -> 2)
- Relevant code to trigger the issue.
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="@={register.email}" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:passwordToggleEnabled="true">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword|textWebPassword"
android:singleLine="true"
android:text="@={register.password}" />
</android.support.design.widget.TextInputLayout>
- A screenrecord or screenshots showing the issue (if UI related).