当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Toolbar vs appcompat v7-21 toolbar

问题描述:

What is the difference between the two? what all features are included in toolbar thats not in v7-21 toolbar? What all limitations are there in using v7-21 tollbar in place of toolbar?

网友答案:

If you look at the documentation for the Toolbar and the AppCompat Toolbar you can see that functionally, there aren't any differences between the two. Of course the SDK level required differs between the two and to use the Toolbar you have to call setActionBar(mToolbar); but with the support Toolbar you have to call setSupportActionBar(mToolbar);

分享给朋友:
您可能感兴趣的文章:
随机阅读: