ActionBarSherlock getCustomView() return null on pre ICS android versions
问题 I'm developing an application using ABS Library. In two fragmentActivities I need use a custom view in the Actionbar. My code work perfect in ICS and JB. But I test in gingerbread and crashed. My code is the next: public class SearchContactActivity extends SherlockFragmentActivity { private EditText searchField; private ImageButton searchButton; @Override protected void onCreate(Bundle arg0) { super.onCreate(arg0); setContentView(R.layout.search_contacts); ActionBar actionBar =