diff --git a/LICENCE b/LICENCE
new file mode 100644
index 0000000..b055e90
--- /dev/null
+++ b/LICENCE
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) 2018 Hud Azamov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 22a39bd..249e234 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,72 @@
# Edittext-Input-Validator-Library
+
+## Overview
+Provides a custom component of Edittext, that facility create forms, and its validations, as require a little lines of code for use
+
+
+
+
+
+## Changelog
+
+
+## Requirements
+
+* Project migrated or implemented *AndroidX components*
+
+## Install
+
+Gradle dependency:
+```Groovy
+ implementation 'com.github.professorDeveloper:Edittext-Input-Validator-Library:1.0.0'
+```
+
+Maven dependency:
+```XML
+
+ com.github.professorDeveloper
+ Edittext-Input-Validator-Library
+ 1.0.0
+
+```
+## Proguard
+it isn't necesary exclude something
+
+
+## Usage
+
+The next section explains how to use this, if you are need to see running this feel free of download the repo and run the sample
+
+##### In XML:
+
+You can use Edittext alone or inside in TextInputLayout
+
+In this example you can see a Edittext of email field, with autovalidate enabled and automatic show errors in realtime
+
+```XML
+
+
+```
+
+if you want to validate a specific pattern can do something like this:
+
+```XML
+
+```
+
+
+The next table contains all information about of custom attributes with their description
+
+
+| name | type | description |
+|---|---|---|
+| app:format | reference | This feature configure the types that are supported. The types are: **email, password, phone, zipcode, text, number, cellphone, date, personName, numberCurrency, curp, numberCurrencyRounded** |
diff --git a/app/build.gradle b/app/build.gradle
index 8007061..44af0d3 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -4,13 +4,13 @@ plugins {
}
android {
- compileSdk 32
+ compileSdk 33
namespace 'com.azamovhudstc.pdpgitmasala2'
defaultConfig {
applicationId "com.azamovhudstc.pdpgitmasala2"
- minSdk 21
- targetSdk 32
+ minSdk 24
+ targetSdk 33
versionCode 1
versionName "1.0"
@@ -38,11 +38,11 @@ android {
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
- implementation 'androidx.appcompat:appcompat:1.6.1'
+ implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- implementation 'com.github.professorDeveloper:Edittext-Input-Validator-Library:1.0.0'
+ implementation 'com.github.professorDeveloper:Edittext-Input-Validator-Library:1.0.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}
\ No newline at end of file
diff --git a/app/src/main/java/com/azamovhudstc/pdpgitmasala2/MainActivity.kt b/app/src/main/java/com/azamovhudstc/pdpgitmasala2/MainActivity.kt
index 36dea17..07576ca 100644
--- a/app/src/main/java/com/azamovhudstc/pdpgitmasala2/MainActivity.kt
+++ b/app/src/main/java/com/azamovhudstc/pdpgitmasala2/MainActivity.kt
@@ -4,14 +4,15 @@ import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.azamovhudstc.pdpgitmasala2.databinding.ActivityMainBinding
-import com.example.validator_lib.ValidatorSpinner
+import com.azamovhudstc.validator_lib.ValidatorSpinner
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
- setContentView(R.layout.activity_main)
+ binding = ActivityMainBinding.inflate(layoutInflater)
+ setContentView(binding.root)
setUpSpinner()
setListeners()
}
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 0b64fc9..5ab3bd4 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -14,14 +14,14 @@
android:orientation="vertical">
-
-
-
-
-
-
-
-
-