public void setSearchBarTitle(CharSequence title) {
        this.mTitleText = title.toString();
        mIsTitleSet = true;
        mSearchInput.setText(title);
    }
public void setSearchBarTitle(CharSequence title) {
        this.mTitleText = title.toString();
        mIsTitleSet = true;
        mSearchInput.setText(title);
    }
public void setSearchBarTitle ( CharSequence title ) { this . mTitleText = title . toString ( ) ; mIsTitleSet = true ; mSearchInput . setText ( title ) ; }
Sets the title for the search bar.
<p/>
Note that after the title is set, when
the search gains focus, the title will be replaced
by the search hint.

@param title the title to be shown when search
is not focused
Sets the title for the search bar . <p / > Note that after the title is set when the search gains focus the title will be replaced by the search hint .