ITPub博客

首页 > 应用开发 > > 发布到模拟器上就闪退

发布到模拟器上就闪退

作者:smanzheng 时间:2019-10-09 16:09:02 0 删除 编辑

android.support.v4.view.ViewPager


<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/4759/viewspace-3153348/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-25

  • 博文量
    115
  • 访问量
    1240