ITPub博客

首页 > 应用开发 > > android.support.v4.view.ViewPager 发布到模拟器上就闪退

android.support.v4.view.ViewPager 发布到模拟器上就闪退

作者:lcc 时间:2019-10-25 16:35:55 0 删除 编辑

<br>

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    xmlns:app="http://schemas.android.com/apk/res-auto"

    xmlns:tools="http://schemas.android.com/tools"

    android:layout_width="match_parent"

    android:layout_height="match_parent"

    android:orientation="vertical"

    tools:context=".MainActivity">

    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="0dp"

        android:layout_weight="1"

        tools:ignore="MissingConstraints,Suspicious0dp">

    </LinearLayout>

    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="0dp"

        android:layout_weight="1"

        tools:ignore="MissingConstraints,Suspicious0dp">

        <android.support.v4.view.ViewPager

            android:id="@+id/view_pager"

            android:layout_width="match_parent"

            android:layout_height="match_parent" />

    </LinearLayout>

    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="0dp"

        android:layout_weight="1"

        tools:ignore="MissingConstraints,Suspicious0dp"></LinearLayout>

</LinearLayout>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2331/viewspace-3128840/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: vue中 cube-ui 报错
请登录后发表评论 登录
全部评论

注册时间:2019-09-06

  • 博文量
    119
  • 访问量
    12372