【问题标题】:error in linear layout.vertical. what should be the exact line线性布局错误。垂直。确切的行应该是什么
【发布时间】:2019-12-19 16:28:14
【问题描述】:
mUserListLayoutManager = new LinearLayoutManager(getApplicationContext(), LinearLayout.VERTICAL, false);

LinearLayout.Vertical 正在创建警告

【问题讨论】:

  • 警告说什么??

标签: android android-linearlayout linearlayoutmanager


【解决方案1】:

由于您没有发布警告消息,我将得出结论并假设:

您应该使用LinearLayoutManager.VERTICAL 而不是LinearLayout.VERTICAL

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-26
    • 2015-07-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-03
    • 1970-01-01
    • 2013-06-20
    相关资源
    最近更新 更多