am 6f8e5923: Move to a single dropdown background for the search dialog. This one is full-screen width but has rounded corners on the bottom so it doesn\'t look crappy if the list is not full-screen height. This was already being used for in-app search, so I just got r
Merge commit '6f8e592347d463044b7dd8999588840cec6e956e' * commit '6f8e592347d463044b7dd8999588840cec6e956e': Move to a single dropdown background for the search dialog. This one
This commit is contained in:
committed by
The Android Open Source Project
commit
f364595d44
@@ -560,12 +560,8 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
|
||||
|
||||
if (mGlobalSearchMode) {
|
||||
mSearchAutoComplete.setDropDownAlwaysVisible(true); // fill space until results come in
|
||||
mSearchAutoComplete.setDropDownBackgroundResource(
|
||||
com.android.internal.R.drawable.search_dropdown_background);
|
||||
} else {
|
||||
mSearchAutoComplete.setDropDownAlwaysVisible(false);
|
||||
mSearchAutoComplete.setDropDownBackgroundResource(
|
||||
com.android.internal.R.drawable.search_dropdown_background_apps);
|
||||
}
|
||||
|
||||
// attach the suggestions adapter, if suggestions are available
|
||||
|
||||
BIN
core/res/res/drawable/search_dropdown_background.9.png
Executable file → Normal file
BIN
core/res/res/drawable/search_dropdown_background.9.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB |
Reference in New Issue
Block a user