add more Java APIs needed for OctoDroid

This commit is contained in:
Julian Winkler
2024-08-05 17:17:53 +02:00
parent 6c2585ab4b
commit 3e7fdac663
21 changed files with 184 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package android.widget;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
public class AutoCompleteTextView extends EditText {
@@ -16,4 +17,26 @@ public class AutoCompleteTextView extends EditText {
super(context, attributeSet);
}
public void setDropDownBackgroundDrawable(Drawable drawable) {}
public int getThreshold() {
return 0;
}
public void setOnItemClickListener(AdapterView.OnItemClickListener listener) {}
public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener) {}
public int getDropDownAnchor() {
return 0;
}
public void setAdapter(ListAdapter adapter) {}
public void setThreshold(int threshold) {}
public int getImeOptions() {
return 0;
}
}