Merge "Don't expand the SearchView if already expanded." into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
dab15d14ca
@@ -1187,6 +1187,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
|
||||
*/
|
||||
@Override
|
||||
public void onActionViewExpanded() {
|
||||
if (mExpandedInActionView) return;
|
||||
|
||||
mExpandedInActionView = true;
|
||||
mCollapsedImeOptions = mQueryTextView.getImeOptions();
|
||||
mQueryTextView.setImeOptions(mCollapsedImeOptions | EditorInfo.IME_FLAG_NO_FULLSCREEN);
|
||||
|
||||
Reference in New Issue
Block a user