mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1041641 - Disable SearchFragment mainView click listener when creating view. r=eedens
This commit is contained in:
parent
b9faa69290
commit
5117d11359
@ -108,6 +108,11 @@ public class SearchFragment extends Fragment implements AcceptsJumpTaps {
|
||||
}
|
||||
});
|
||||
|
||||
// Disable the click listener while the fragment is State.WAITING.
|
||||
// We can't do this in the layout file because the setOnClickListener
|
||||
// implementation calls setClickable(true).
|
||||
mainView.setClickable(false);
|
||||
|
||||
editText = (ClearableEditText) mainView.findViewById(R.id.auto_complete_edit_text);
|
||||
editText.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
@ -8,7 +8,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:clickable="false"
|
||||
tools:context=".autocomplete.AutoCompleteFragment">
|
||||
|
||||
<org.mozilla.search.autocomplete.ClearableEditText
|
||||
|
Loading…
Reference in New Issue
Block a user