我会点击以下链接,但对我没有帮助:非法字符错误:“ \ u200b”每当我添加以下代码时:// get our folding cell final FoldingCell fc = (FoldingCell) findViewById(R.id.folding_cell); // attach click listener to folding cell fc.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { fc.toggle(false); } });出现此错误: Illegal character U+200B错误未显示在下面,Logcat或错误massage显示在MainActivity.class下面findviewByIdactivity_main.xml<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" tools:context="com.foldingcell.MainActivity"> <com.ramotion.foldingcell.FoldingCell xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/folding_cell" android:layout_width="match_parent" android:layout_height="wrap_content" android:clipChildren="false" android:clipToPadding="false" > </com.ramotion.foldingcell.FoldingCell></LinearLayout>我从听到的代码中复制代码:https : //android-arsenal.com/details/1/3426
添加回答
举报
0/150
提交
取消