【发布时间】:2015-06-01 11:43:27
【问题描述】:
我正在使用@chrisbanes 设计示例: https://github.com/chrisbanes/cheesesquare
工具栏项目仅出现在 Lollipop 的状态栏后面。
请注意示例中显示相同的错误,请查看第一个屏幕截图。
【问题讨论】:
-
你能发布你的布局和你的styles.xml吗?
-
在
Toolbar上添加25dp的顶部边距,这是状态栏的高度。 -
@AlexFacciorusso 同样的问题出现在 Chrisbanes 样本上,这里是相关文件:github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/…github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/…
-
@NikolaDespotoski 我尝试了这个技巧,但没有成功,我也尝试在折叠工具栏上应用上边距,但也没有成功。
-
@MahdiHijazi 与 Chris Banes 的项目有同样的问题而没有改变任何东西?很奇怪,因为我用着没问题……
标签: android android-design-library