user3700102
user3700102

Reputation:

Overlay the Action bar programmatically when using the support library

how to overlay the action bar when using the v7 support library?
I tried the code WindowCompat.FEATURE_ACTION_BAR_OVERLAY before the setContentView() method, but it doesn't solve my problem.

Upvotes: 2

Views: 470

Answers (1)

ianhanniballake
ianhanniballake

Reputation: 199805

You should use ActionBarActivity.supportRequestWindowFeature() with WindowCompat.FEATURE_ACTION_BAR_OVERLAY before setContentView().

Upvotes: 2

Related Questions