android 选项卡在横向视图中垂直显示在屏幕左侧
我知道可以将选项卡放置在纵向模式的顶部或底部视图中。但是,当我将方向移动到横向视图时,选项卡将在顶部水平排成一行。
当我在 Android 手机中打开日历应用程序时,我发现这是可能的,因为选项卡在水平视图中是垂直的,也在左侧。
有什么方法可以将其更改为垂直显示在屏幕的左侧吗? 是否可以通过在layout-port和layout-land中执行不同的视图来更改它,或者更改manifest.xml或通过编码的任何其他可能的方式,
谢谢您提前的帮助。这个问题一直很难解决。
I know that it is possible to place the tabs at the top or bottom view in portrait mode. However when i moved the orientation to the landscape view, the tabs will be in a row horizontally at the top.
I saw that it is possible when i opened up the Calendar
application in my android phone, because the tabs are vertical in horizontal view, at the left hand side too.
Is there any way to change it to appear at the left hand side vertically
on the screen?
is it possible to change it through doing different views in layout-port and layout-land, or change manifest.xml or any other possible way through coding
thanks for the help in advance. this problem has been quite hard to solve.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为要创建左侧带有选项卡的布局,您可以在此链接上获取相关信息:Left侧边选项卡小部件
希望这有帮助。
I think for creating a layout with Tabs on the left hand side, you can get related information on this link: Left Side Tab Widget
Hope this helps.
在我的实验中,我发现您可以对选项卡的位置进行很少的自定义。
作为一个答案,我想说,到目前为止,我们无法将选项卡放置在左侧或右侧。
我可能错了,但这就是我的感受。
但是,您始终可以自由地编写自己的选项卡实现并使用它。
In my experiments, I found out that there's very little customisation available that you can do with Tabs' position.
This, as an answer, I would say, till now we can't position tabs on the left or right.
I may be wrong, but this is what I feel.
However, you're always free to write your own tab implementation and use it.