 <p><a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/5.0.2_r1/android/support/v17/leanback/app/BrowseFragment.java#BrowseFragment.0mOnFocusSearchListener" rel="nofollow">BrowseFragment class</a> accesses search icon using title view's <code>getSearchAffordanceView()</code></p> <pre><code> private final BrowseFrameLayout.OnFocusSearchListener mOnFocusSearchListener = new BrowseFrameLayout.OnFocusSearchListener() { @Override public View onFocusSearch(View focused, int direction) { // If headers fragment is disabled, just return null. if (!mCanShowHeaders) return null; final View searchOrbView = mTitleView.getSearchAffordanceView(); . . . </code></pre> <p>Since <code>mTitleView</code> is <code>BrowseFragment</code>'s private member, you cannot get search icon reference directly. The only properties you can control for search affordance in the fragment title are: visibility and color. Visibility is controlled by the presence of a search listener.</p>