Taking a look at the API diff report for the Android "L" preview, I see that all methods related to navigation modes in the ActionBar
class (such as setNavigationMode()
, addTab()
, selectTab()
, &c). are now deprecated.
The documentation explains:
Action bar navigation modes are deprecated and not supported by inline
toolbar action bars. Consider using other common navigation patterns
instead.
What is the supposed replacement?
Also, is "inline toolbar action bars" a new concept? I don't think I've heard of it before.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…