Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Fixes #2821 Disable soft input on focus for the SettingsEditText text fields #2824

Merged
merged 1 commit into from
Feb 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
import android.view.View;
import android.widget.EditText;

import org.mozilla.vrbrowser.R;

import androidx.annotation.Nullable;

import org.mozilla.vrbrowser.R;

@SuppressLint("AppCompatCustomView")
public class SettingsEditText extends EditText {

Expand All @@ -33,6 +33,7 @@ public SettingsEditText(Context context, @Nullable AttributeSet attrs, int defSt

TypedArray attributes = context.obtainStyledAttributes(attrs, R.styleable.EditSetting, defStyleAttr, 0);
mHighlightedTextColor = attributes.getColor(R.styleable.EditSetting_highlightedTextColor, 0);
setShowSoftInputOnFocus(false);

initialize();
}
Expand Down