【问题标题】:Could not find "fill parent" in Android Studio [duplicate]在 Android Studio 中找不到“填充父级”[重复]
【发布时间】:2018-06-30 12:46:11
【问题描述】:

您好,我正在学习一个 android 教程,我需要填写父级。

但是,我没有在布局列表中找到它。仅有的两个选项是“包装内容”和“匹配父项”。

我在 MacBook Pro 2016 上使用 Android Studio 2.3.3。

希望有人可以帮助如何将其设置为填充父母。

谢谢!

【问题讨论】:

    标签: android android-studio


    【解决方案1】:

    fill_parent 已被弃用,match_parent 现在做同样的事情。

    【讨论】:

      【解决方案2】:

      你应该看看这个链接 =>

      Is deprecated word the only difference between fill_parent and match_parent

      fill_parent 已弃用并由 match_parent 替换。

      【讨论】:

        猜你喜欢
        • 2019-11-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-02-02
        相关资源
        最近更新 更多