V
V
Valera Figol2017-03-16 20:47:53
XAML
Valera Figol, 2017-03-16 20:47:53

How to fix error on android.support.design?

I have Edit text:

<android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <EditText
            android:id="@+id/etPassword"
            android:inputType="textPassword"
            android:hint="Password"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp" />
    </android.support.design.widget.TextInputLayout>

But on the view I get an error:
4b804784650c4f0cb5cb79bac0c36df1.png
Tell me what to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valera Figol, 2017-03-17
@Kamrit

I solved the problem, in the Activity it was necessary to set:

Theme = "@style/Theme.AppCompat.DayNight.NoActionBar"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question