Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a40d7ec7 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Restore some lost space in the SearchView text field in Search Dialog.

A defunct invisible drawable was taking up some pixels in the Search Dialog's text field.
Disabled the drawable until the spinner functionality is revived.

Change-Id: Icfcc51d7b1215e54f9e291d0051e8b42c208a725
parent 40030c8d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -188,8 +188,9 @@ public class SearchDialog extends Dialog {
        mSearchPlate = mSearchView.findViewById(com.android.internal.R.id.search_plate);
        mWorkingSpinner = getContext().getResources().
                getDrawable(com.android.internal.R.drawable.search_spinner);
        mSearchAutoComplete.setCompoundDrawablesWithIntrinsicBounds(
                null, null, mWorkingSpinner, null);
        // TODO: Restore the spinner for slow suggestion lookups
        // mSearchAutoComplete.setCompoundDrawablesWithIntrinsicBounds(
        //        null, null, mWorkingSpinner, null);
        setWorking(false);

        // pre-hide all the extraneous elements