I want to overlay the split action bar and make the background semi transparent, just like facebook.
Any iteas please. I tried
getWindow().requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY);
setContentView(R.layout.activity_home);
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.argb(128, 0, 0, 0)));
but it is overlaying the top bar and not the bottom.
Thanks, Noorul
I think it is
getActionBar().setSplitBackgroundDrawable(yourresource)
I hope it helps !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.