summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeffrey Sharkey <>2009-03-31 18:25:03 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-31 18:25:03 -0700
commit8126ac66b631dc635d8fab8a240840989cbd2a05 (patch)
tree8cbe8abfddae74f10779d2113ac09867ce1418bc /core
parentb9f15d7b3c0d6bb66aede38f6f2302e2a8595416 (diff)
downloadframeworks_base-8126ac66b631dc635d8fab8a240840989cbd2a05.zip
frameworks_base-8126ac66b631dc635d8fab8a240840989cbd2a05.tar.gz
frameworks_base-8126ac66b631dc635d8fab8a240840989cbd2a05.tar.bz2
AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143908
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/AutoCompleteTextView.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/widget/AutoCompleteTextView.java b/core/java/android/widget/AutoCompleteTextView.java
index e613541..dfb971e 100644
--- a/core/java/android/widget/AutoCompleteTextView.java
+++ b/core/java/android/widget/AutoCompleteTextView.java
@@ -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>