Android的工具栏上的高度差 [英] Android toolbar height difference
本文介绍了Android的工具栏上的高度差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
最近,我开始使用Android工具栏的工作。
我测试的Android版本4.4.4和5.1.1。我对着该工具栏的高度是不同的。我一直在努力的寻找,没有运气的答案。我可以提供源$ C $ C,如果你需要的。
recently I started working with android toolbars. I am testing on android version 4.4.4 and 5.1.1. I am facing that the toolbars height are different. I have been trying hard to find an answer with no luck. I can provide source code, if you need.
在此先感谢和节日快乐!
Thanks in advance and Happy Holidays!
推荐答案
我已经重新从头开始的项目,所以我不能提供源$ C $ C。也许我忘了补充的android:fitsSystemWindows =真正的
在我layout.xml
I already recreated the project from scratch, so I can not provide source code. Maybe I forgot to add android:fitsSystemWindows="true"
in my layout.xml.
这篇关于Android的工具栏上的高度差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文