Where is the error?

Report a typo

Your teammate has already set up View Binding in the project you are both working on. And it is actually working on some Views! However, you are trying to reference EditText, but you can't! What is the problem with this specific UI View?

Here is the XML file that has the View element with the problem.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <Button
        android:id="@+id/test_button"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />
</LinearLayout>
Select one option from the list
___

Create a free account to access the full topic