How to make com.google.android.material.textfield.TextInputEditText to textview?

40 Views Asked by At
                <com.google.android.material.textfield.TextInputLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="32dp"
                    android:layout_marginTop="16sp"
                    android:layout_marginEnd="32dp"
                    app:boxStrokeColor="@color/blue">

                    <com.google.android.material.textfield.TextInputEditText
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:fontFamily="@font/quicksand_bold"
                        android:hint="Full Name"
                        android:textColor="@color/blue"
                        android:textColorHint="@color/blue" />

                </com.google.android.material.textfield.TextInputLayout>

I used this for Edittext but I don't know how to use it for Textview

I want like this enter image description here

1

There are 1 best solutions below

0
On
android:focusable="false"
android:clickable="false"
android:cursorVisible="false"

add this to EditText