TextInputEdittext

Additional

Language
Java
Version
1.0 (Sep 21, 2020)
Created
Sep 21, 2020
Updated
Sep 22, 2020 (Retired)
Owner
Kundan Kamal (thekundankamal)
Contributor
Kundan Kamal (thekundankamal)
1
Activity
Badge
Generate
Download
Source code

textinputedittext

Preview

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");

`