Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Set Background Color removes Card Corner #37

Open
@harmeetsingh-work

Description

@harmeetsingh-work

By default MTF color is always Pink, it is not taking color accent value, and if changing the color using mtf attribute, then the card corners are not there. :(

<com.github.florent37.materialtextfield.MaterialTextField
        android:id="@+id/mtf_edit_txt_name"
        android:layout_width="270dp"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="50dp"
        app:mtf_image="@drawable/ic_tag"
        app:mtf_backgroundColor="@color/colorAccent"
        app:mtf_labelColor="@color/edit_text">

        <EditText
            android:id="@+id/edit_txt_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="Enter Name"
            android:textColor="#c3ffffff" />
    </com.github.florent37.materialtextfield.MaterialTextField>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions