cyrilmottier/GreenDroid — Issue #86: ActionBar: onFinishInflate not called after setType - on ICS only
Author: BartMulder
Created: 2011-12-22 11:56:38+00:00
State: open

On Ice Cream Sandwich I discovered that onFinishInflate is not called any more when a new ActionBar layout has been inflated in setType. It does get called after the initial inflation in the ActionBar constructor. It also does get called on GingerBread and Froyo.

As a result the Home button and the title get 'lost' after a call to ActionBar setType.

I did a bit of digging and the ActionBar object ID as well as the Context all seem OK (same as during construction). The inflater doesn't throw any exceptions either, so I'm not sure what is going on excactly.