package com.spiddekauga.android.ui;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.AutoCompleteTextView;

/**
 * Instantly auto-complete whenever the field is focus, even when nothing has been written.
 */
public class InstantAutoComplete extends AutoCompleteTextView {

public InstantAutoComplete(Context context) {
	this(context, null);
}

public InstantAutoComplete(Context context, AttributeSet attrs) {
	super(context, attrs);
}

public InstantAutoComplete(Context context, AttributeSet attrs, int defStyleAttr) {
	super(context, attrs, defStyleAttr);
}

public InstantAutoComplete(
		Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
	super(context, attrs, defStyleAttr, defStyleRes);
}

@Override
public boolean enoughToFilter() {
	return true;
}

@Override
public void onFilterComplete(int count) {
	if (isFocused()) {
		showDropDown();
	}
}

@Override
protected void onFocusChanged(boolean focused, int direction,
							  Rect previouslyFocusedRect) {
	super.onFocusChanged(focused, direction, previouslyFocusedRect);
	if (focused) {
		performFiltering(getText(), 0);
	}
}

}
@@ -111,69 +111,89 @@
 oid.
-util.AttributeSet;%0Aimport android.widget.AutoCompleteTextView
+support.v7.widget.AppCompatAutoCompleteTextView;%0Aimport android.util.AttributeSet
 ;%0A%0A/
@@ -332,16 +332,25 @@
 extends 
+AppCompat
 AutoComp
@@ -609,24 +609,24 @@
 tyleAttr) %7B%0A
+
 %09super(conte
@@ -658,166 +658,8 @@
 %0A%7D%0A%0A
-public InstantAutoComplete(%0A%09%09Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) %7B%0A%09super(context, attrs, defStyleAttr, defStyleRes);%0A%7D%0A%0A
 @Ove

Fix InstantAutoComplete to use AppCompat's version for consistency.