简体   繁体   English

Eclipse中android xml布局的横向预览

[英]Landscape preview of android xml layout in Eclipse

In Eclipse (ADT plugin) there is a neat feature to preview xml layout in graphical form. 在Eclipse(ADT插件)中,有一个简洁的功能来以图形形式预览xml布局。 I set android:screenOrientation="landscape" for my Activity and I thought it would be shown in this way. 我为我的Activity设置了android:screenOrientation="landscape" ,我认为它会以这种方式显示。 But the preview seems locked to portrait orientation only. 但预览似乎仅限于纵向方向。 Is there a way to change it? 有没有办法改变它?

There is a bar along the top that lets you customise the preview. 顶部有一个栏,可让您自定义预览。 Device, orientation etc. 设备,方向等

在此输入图像描述

在上面的菜单中,您可以选择翻转方向,在那里您可以使用横向模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM