Who are you?

Report a typo

Fill in the missing line to make a reference to the ID of the declared TextView in Kotlin code like this: R.id.thisTextViewId

<?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">

    <TextView
        ________________________
        tools:text="I'm a TextView"
        android:textSize="32sp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        android:gravity="center"/>
</LinearLayout>
Enter a short text
___

Create a free account to access the full topic