title: How to delete or change the searchview icon inside the SearchView actionBar?
body: <p><img src="https://i.stack.imgur.com/H3eeK.png" alt="screenshot"></p>
  
  <p>How to remove or change the search view icon inside the edittext?
  I am using the Appcompat library.</p>
  
  <p>I used the below code to modify and remove but it's not working:</p>
  
  <pre><code>SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
          searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
      View search_mag_icon = (View)searchView.findViewById(android.support.v7.appcompat.R.id.search_mag_icon);
          search_mag_icon.setBackgroundResource(R.drawable.ic_stub);
          //search_mag_icon.setVisibility(View.GONE);
  </code></pre>