【发布时间】:2015-07-06 20:12:29
【问题描述】:
我一直在使用设计库,但遇到了一个问题。
final Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
我将工具栏初始化为必须返回按钮,但它仅在 Genymotion Nexus 6 中显示。在我的 LG G2 Lolipop 上,没有显示返回按钮。这个错误有解决方法吗?谢谢。
【问题讨论】:
标签: android android-design-library