Skip to content

No style for some widgets #19

@CeccoCQ

Description

@CeccoCQ

Hi,
I'm using your library but I've a problem with a style.
I attach some screenshots and code below.

This is my xml:

<com.google.android.material.textfield.TextInputLayout
                           android:id="@+id/email_til"
                           style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox"
                           android:layout_width="match_parent"
                           android:layout_height="wrap_content"
                           android:layout_below="@id/email_tv"
                           app:boxBackgroundColor="@color/color_secondary_variant_light"
                           app:boxCornerRadiusBottomEnd="4dp"
                           app:boxCornerRadiusBottomStart="4dp"
                           app:boxCornerRadiusTopEnd="4dp"
                           app:boxCornerRadiusTopStart="4dp"
                           app:endIconMode="clear_text"
                           app:errorEnabled="false"
                           app:helperTextEnabled="true">

                           <com.google.android.material.textfield.TextInputEditText
                               android:id="@+id/email_met"
                               android:layout_width="match_parent"
                               android:layout_height="wrap_content"
                               android:layout_marginTop="8dp"
                               android:imeOptions="actionNext"
                               android:inputType="textEmailAddress"
                               android:minHeight="50dp"
                               android:padding="0dp"
                               android:textColor="@color/lead"
                               app:endIconMode="clear_text"
                               app:met_floatingLabelText="EMAIL" />

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

Schermata 2020-10-19 alle 13 11 00

If I extend AirConAppCompatActivity, I've
Schermata 2020-10-19 alle 13 09 05

Seems that there are some conflicts with google Material package. I'm using androidx.

How can I solve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions