Skip to content

Commit

Permalink
Merge pull request #12000 from wordpress-mobile/fix/9905_Crash_Inflat…
Browse files Browse the repository at this point in the history
…eException_Binary_XML_file_line_NEW

Fix Crash InflateException Binary XML file
  • Loading branch information
oguzkocer authored May 25, 2020
2 parents 757f3cc + e5bdf4c commit a3cc69a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ private void init(Context context, AttributeSet attrs) {
mEditText.setHintTextColor(getResources().getColor(android.R.color.transparent));
}
if (a.hasValue(R.styleable.wpLoginInputRow_passwordToggleEnabled)) {
mTextInputLayout.setPasswordVisibilityToggleEnabled(
a.getBoolean(R.styleable.wpLoginInputRow_passwordToggleEnabled, false));
mTextInputLayout.setEndIconMode(TextInputLayout.END_ICON_PASSWORD_TOGGLE);
mTextInputLayout.setEndIconDrawable(R.drawable.selector_password_visibility);
}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
Expand Down

0 comments on commit a3cc69a

Please sign in to comment.