标题栏底部
我阅读了本教程如何创建自定义标题栏。
工作正常但是:
是吗可以将此栏添加为底部而不是顶部的标题栏吗?
i read this tutorial how to create a custom-titlebar.
works fine BUT:
is it possible to add this bar not as a titlebar on the top but on the bottom?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您始终可以创建自己的
TextView
并将其放置在布局上的绝对位置(请参阅AbsoluteLayout
此处),但我建议不要这样做,因为它违反了正常的用户界面标准,并且可能会让用户感到困惑。此外,如果您在布局中滚动,定位会变得更加复杂。据我所知,没有移动标题栏的内置方法。You can always create your own
TextView
and place it in an absolute position on a layout (seeAbsoluteLayout
here) but I would recommend against this as it breaks from the normal user interface standards and could be confusing to users. In addition if you have scrolling in your layout the positioning would become more complex. As far as I know there is no built-in way of moving the title bar.只是一个想法。
您可以关闭标题栏并将标题栏之类的内容添加到所有布局的底部:
但我从未在底部见过标题栏。
Just an idea.
You can turn off the title bar and add something like title bar to the bottom of all your layouts:
But i've never seen a title bar at the bottom.