无法看到完成视图布局Android Studio中 [英] Unable to see completed view layout in Android Studio

查看:384
本文介绍了无法看到完成视图布局Android Studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立将被显示在垂直滚动型垂直的LinearLayout。我找不到Android Studio中的方式来看到的是滚动型的底部下方的LinearLayout部分。有什么办法看到完整的布局,而不是限制它由渲染器所提供的视窗?

I am creating a vertical LinearLayout that will be displayed in a vertical ScrollView. I can't find a way in Android Studio to see the portion of the LinearLayout that is below the bottom of the ScrollView. Is there any way to see the full layout rather than constraining it to the viewport provided by the renderer?

推荐答案

我刚刚发现了如何。您需要创建在Android中AVD用户定义的设备定义 - 我创建一个是480 * 4000像素。退出并重新启动Android的工作室,然后你可以在preVIEW渲染器选择该设备,可以看到4000像素价值的LinearLayout的。

I've just discovered how. You need to create a user defined device definition in Android AVD - I created one that was 480 x 4000 pixels. Exit and restart Android Studio and then you can select this device in the preview renderer and can see 4000 pixels worth of LinearLayout.

这篇关于无法看到完成视图布局Android Studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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