diff options
author | Jeffrey Sharkey <> | 2009-03-31 18:25:33 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-31 18:25:33 -0700 |
commit | f0bc7ecebf8c30732f6de109b9e04dab253c3d08 (patch) | |
tree | 136d3d1d16dad65e7db9ebb698da9c222e0c9cdd /core/java | |
parent | aa7d8c88d35fe531d1c535566b73175d4afb6f5b (diff) | |
download | frameworks_base-f0bc7ecebf8c30732f6de109b9e04dab253c3d08.zip frameworks_base-f0bc7ecebf8c30732f6de109b9e04dab253c3d08.tar.gz frameworks_base-f0bc7ecebf8c30732f6de109b9e04dab253c3d08.tar.bz2 |
AI 143909: am: CL 143908 am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143909
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/widget/AutoCompleteTextView.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/widget/AutoCompleteTextView.java b/core/java/android/widget/AutoCompleteTextView.java index a17c78d..bc95890 100644 --- a/core/java/android/widget/AutoCompleteTextView.java +++ b/core/java/android/widget/AutoCompleteTextView.java @@ -886,6 +886,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> |