0
I’m having trouble changing the background
.
When I wear it like that, with the extends
of TabActivity
:
public class HomeTabActivity extends TabActivity {...
private android.support.v7.app.ActionBar _actionBar;
}
I can’t give a getSupportActionBar();
and then I change the color. There’s some other way to change?
The
getSupportActionBar
belongs toActionBarActivity
, recalling that theTabActivity
was depreciated. I think you can exchange this inheritance without problems.– Wakim
I can put
ActionBarActivity
hassle-free?– Leonardo
Yes, according to the documentation (http://developer.android.com/reference/android/app/TabActivity.html).
– Wakim
@Wakim, can you give me an answer so I can mark it as correct?
– Leonardo