Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.32 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.32 KB

textinputedittext

Android Arsenal

Preview

home_screen

Gradle Dependency

dependencies { implementation 'com.github.thekundankamal:textinputedittext:1.0' }

build.gradle

allprojects {
		repositories {...
		maven { url 'https://jitpack.io' }
		}
}

Usage

XML

 <com.thekundankamal.textinputlibrary.TextInputEditText
        android:layout_margin="10dp"
        android:id="@+id/input_data"
        custome:titleText="Title"
        custome:hintText="Enter your value"
        custome:titleTextSize="4sp"
        custome:textSize="6sp"
        custome:borderColor="@color/strokeColor"
        custome:titleColor="@color/colorPrimaryDark"
        custome:hintColor="@color/colorAccent"
        custome:textColor="@color/colorPrimary"
        custome:borderWidth="10"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

Java

SET TEXT

edInputText.setText("Welcome ");

TITLE TXT

edInputText.setTitleText("Header");

HINT TEXT

edInputText.setHintText("Enter your value");

`