Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

(Newbie) Anyone know how to hide border text field [Edit text]

Good day, may i know how to delete or hide the border text field? Thanks you

Below are the attachment of the xml file:

<?xml version="1.0" encoding="utf-8"?>

<android.support.constraint.ConstraintLayout 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:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="ibm.examplefirebase1.MainActivity">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        tools:layout_constraintLeft_creator="1"
        app:layout_constraintLeft_toLeftOf="parent"
        android:layout_marginLeft="168dp"
        android:layout_marginStart="168dp"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginBottom="128dp"
        android:autoLink="web"
        android:text="@string/accept" />

    <Button
        android:text="@string/log_in"
        android:layout_width="88dp"
        android:layout_height="wrap_content"
        tools:layout_editor_absoluteY="264dp"
        tools:layout_editor_absoluteX="143dp"
        android:id="@+id/button2"
        tools:ignore="MissingConstraints" />

    <EditText
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:inputType="textPassword"
        android:ems="10"
        android:gravity="center"
        tools:layout_editor_absoluteY="173dp"
        tools:layout_editor_absoluteX="80dp"
        android:id="@+id/editText"
        android:hint="Password" />

    <EditText
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:inputType="textPersonName"
        android:gravity="center"
        android:text="User ID "
        android:ems="10"
        tools:layout_editor_absoluteY="114dp"
        tools:layout_editor_absoluteX="80dp"
        android:id="@+id/editText2" />
</android.support.constraint.ConstraintLayout>

You be a little more descriptive. You have 2 'EditText'.