OSDN Git Service

AI 143907: Make search widget drop-down wider.
authorJeffrey Sharkey <>
Wed, 1 Apr 2009 01:24:45 +0000 (18:24 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Wed, 1 Apr 2009 01:24:45 +0000 (18:24 -0700)
  BUG=1749373

Automated import of CL 143907

core/java/android/widget/AutoCompleteTextView.java

index e613541..dfb971e 100644 (file)
@@ -809,6 +809,22 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
     }
     
     /**
+     * Set the horizontal offset with respect to {@link #setDropDownAnchor(int)}
+     * @hide pending API council review
+     */
+    public void setDropDownHorizontalOffset(int horizontalOffset) {
+        mDropDownHorizontalOffset = horizontalOffset;
+    }
+    
+    /**
+     * Set the vertical offset with respect to {@link #setDropDownAnchor(int)}
+     * @hide pending API council review
+     */
+    public void setDropDownVerticalOffset(int verticalOffset) {
+        mDropDownVerticalOffset = verticalOffset;
+    }
+
+    /**
      * <p>Used for lazy instantiation of the anchor view from the id we have. If the value of
      * the id is NO_ID or we can't find a view for the given id, we return this TextView as
      * the default anchoring point.</p>