添加在android系统景观code最简单的方法 [英] Easiest way to add landscape code in android

查看:135
本文介绍了添加在android系统景观code最简单的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的机器人,想知道如何添加景观模式安卓谁能告诉我做到这一点的最简单的方法。我正在寻找一种方式,是非常简单的。

I am new in android and want to know how to add landscape mode in android can anyone tell me about the easiest way to do that. I'm looking for a way that is very simple.

如果你有这种问题的检查之下。答案

If you have this kind of question check the answer below.

感谢....

推荐答案

我要补充一个景观模式(添加风景最简单的方法 code)在 Android的工作室。你只需要点击一两次这样做。结果
当你在 XML 文件打开看看右边有一个 preVIEW面板,显示设备的点击 按钮,然后点击交换机上的布局,土地。它会自动添加 layout_land.xml 文件到您的文件结构,并打开它在code&放; preVIEW。结果
检查下面的图片...

I have a simplest way to add a landscape mode (add landscape code) in android studio. You just have to click one or two times to do that.
when you are in xml file opened look at the right there is a preview panel that show your device click the button and click on switch to layout-land. It Automatically adds layout_land.xml file into your file structure AND also opens it in code & preview.
Check the image below...

在这里输入的形象描述

这篇关于添加在android系统景观code最简单的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆