021-01-16 21:53:06.101 24089-24089/com.example.contactor_add_read W/HiTouch_PressGestureDetector: Touch pointer move a lot. The moving distance of X is:4.471466, limit is:51The moving distance of Y is:59.34253, limit is:51
2021-01-16 21:53:06.122 24089-24089/com.example.contactor_add_read D/InputTransport: history resample interval is too short, cannot uses it to resample!!
グレートゲートを助けてください!!!どうした!!
これはviewpagerのxmlです:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:orientation="vertical">
<TextView
android:id="@+id/Contactor_headpic"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_gravity="center"
android:text="通讯录"
android:textColor="@color/black"
android:textSize="50dp"
android:background="#FFD006"
>
</TextView>
<ListView
android:id="@+id/listview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
</ListView>
</LinearLayout>
これは、アクティビティのコードスニペットです。
CListview=readContactorView.findViewById(R.id.listview);
ArrayAdapter<String> arrayAdapter=new ArrayAdapter<String>(MainActivity.this,R.layout.support_simple_spinner_dropdown_item,names);
CListview.setAdapter(arrayAdapter);