为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

休卑 2019-10-02 01:44:15
<?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>
查看完整描述

1 回答

?
浪里小神龙

TA贡献16条经验 获得超0个赞

你把log日志贴出来,这个代码看不出来问题

查看完整回答
反对 回复 2019-11-18
  • 1 回答
  • 0 关注
  • 850 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信