Android的 - 如何让混合定位标签? (某些选项卡人像,风景等) [英] Android - How to have Mixed Orientation Tabs? (some tabs portrait, others landscape)
问题描述
我已创建了多个选项卡的应用程序,每一个都有自己的布局。我已经关闭了响应加速度计,以保持应用在人像模式(机器人:screenOrientation =画像)。
I have created an app with multiple tabs, each with its own layout. I have shut down response to the accelerometer to keep the app in portrait mode (android:screenOrientation="portrait").
标签的两个被设计在纵向模式下,并且一个标签被设计为横向模式。我需要的事实,屏幕宽度大于横向显示一个迷你标preadsheet高的优势。
Two of the tabs are designed in portrait mode, and one tab is designed in landscape mode. I need to take advantage of the fact that the screen is wider than it is high in landscape to display a mini spreadsheet.
下面是我的问题:我如何定位的标签,以景观之一,而在纵向模式而使另外两个
Here is my question: How do I orient one of the tabs to landscape, while leaving the other two in portrait mode?
有什么建议?
推荐答案
我找到了一个解决方案外的标签设置。下面的链接讨论了多种解决方案,用于显示的垂直的文本:
I found a solution outside of the tab-set. The following link discusses multiple solutions for displaying Vertical text:
我CustomTextView过去了PocketMagic可以在这里找到: HTTP://www.pocketmagic .NET / p = 1625
I went with "CustomTextView" by PocketMagic which can be found here: http://www.pocketmagic.net/?p=1625
使用显示垂直文本的能力,我可以保持锁定在人像模式对整个制表集。
With the ability to display vertical text, I can keep the entire tab-set locked in Portrait mode.
感谢您的建议每个人。
Thanks for the suggestions everyone.
-cc
这篇关于Android的 - 如何让混合定位标签? (某些选项卡人像,风景等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!