Fixed
Status Update
Comments
ar...@google.com <ar...@google.com> #2
Another workaround, getting the ActionBar size at run-time:
TypedValue typed_value = new TypedValue();
getTheme().resolveAttribute(android.support.v7.appcompat.R.attr.actionBarSize, typed_value, true);
swipe_refresh_layout.setProgressViewOffset(false, 0, getResources().getDimensionPixelSize(typed_value.resourceId));
TypedValue typed_value = new TypedValue();
getTheme().resolveAttribute(android.support.v7.appcompat.R.attr.actionBarSize, typed_value, true);
swipe_refresh_layout.setProgressViewOffset(false, 0, getResources().getDimensionPixelSize(typed_value.resourceId));
gr...@pocketmatter.com <gr...@pocketmatter.com> #3
I am experiencing this too...
ar...@google.com <ar...@google.com>
gr...@pocketmatter.com <gr...@pocketmatter.com> #4
Another workaround might help
handler.postDelayed(new Runnable() {
@Override
public void run() {
initiateRefresh();
}
}, 1000);
handler.postDelayed(new Runnable() {
@Override
public void run() {
initiateRefresh();
}
}, 1000);
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).