【问题标题】:How to enable Design View (GUI) for xml files other than the layout xml in Android Studio?如何为 Android Studio 中的布局 xml 以外的 xml 文件启用设计视图 (GUI)?
【发布时间】:2015-09-15 05:30:58
【问题描述】:

在使用 ADT 的 Eclipse 中, 可以为所有资源添加 xml 标签,无论是 AndroidManifest ,值.. 我在 Android Studio 中没有看到相同的设计视图(GUI 界面)。

任何启用它的方法。

谢谢。

【问题讨论】:

    标签: android xml eclipse android-studio


    【解决方案1】:

    打开一个xml布局或drawable。 转到android studio窗口的左下角,您应该会看到一个类似电视的图标,将鼠标悬停在它上面,然后选择预览,

    现在将打开一个预览窗格(通常在窗口右侧),其中显示设计。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-08-04
      • 1970-01-01
      • 1970-01-01
      • 2021-10-28
      • 2021-03-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多