AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143908
This commit is contained in:
committed by
The Android Open Source Project
parent
b9f15d7b3c
commit
8126ac66b6
@@ -808,6 +808,22 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user