Android studio 布局编辑器总是横屏?

标签 android android-layout android-layout-editor

我的应用将只是横向的。但是每次我开始编辑布局时都需要将 xml 布局编辑器设置为横向模式。如何让我的 xml 布局编辑器始终处于横向模式?

最佳答案

您必须根据景观变化构建布局。 image

所以你可以在android studio xml design的顶栏上选择这个。

关于Android studio 布局编辑器总是横屏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58395931/

相关文章:

android.content.ActivityNotFoundException : No Activity found to handle Intent - googleMaps

android - 在 Android 布局中折叠边距

Android Toolbar actionLayout of Switch导致菜单按下时文本跳转

android - 工具 :text for RecyclerView items

android - 拆分 AndroidStudio 的 XML/文本和设计窗口

android - 如何在不重启的情况下刷新 Android Studio 中的资源?

android - Android WebViewClient 属性中的 "isForMainFrame"请求是什么意思?

java.lang.RuntimeException : Unable to start activity, 传递给另一个 Activity

android - setText 不适用于从 ArrayListAdapter 获取的 View

android - Android Support Library的CardView在不同设备上的不同结果