login screen ui design in android studio (with source code) free

login screen ui design in android studio with xml code

by Author Aayush Parmartoday

In this page I am show you source code of my login design also you can check this code in our android app name Kherwara App available at play store

Activity name : LoginActivity.java

Install library

 Gradle Add jitpack.io to your root gradle file (project level) :

 allprojects { 

repositories {

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

paste thid dependecies in build.gradle file

implementation 'com.github.MrNouri:DynamicSizes:1.0'


<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ctivities.LoginActivity">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"

android:layout_gravity="center"
android:orientation="vertical" >

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="Kherwara"
android:maxLines="1"
android:textSize="@dimen/_70mdp"
android:textStyle="bold"
app:autoSizeMaxTextSize="1000sp"
app:autoSizeMinTextSize="1sp"
app:autoSizeTextType="uniform" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:maxLines="1"
android:text="App"
android:textSize="@dimen/_70mdp"
android:textStyle="bold"
app:autoSizeMaxTextSize="1000sp"
app:autoSizeMinTextSize="1sp"
app:autoSizeTextType="uniform" />

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_30mdp"
android:layout_marginTop="@dimen/_30mdp"
android:layout_marginEnd="@dimen/_30mdp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:background="@color/demo_light_transparent"
android:layout_height="match_parent">


<com.google.android.material.textfield.TextInputEditText
android:id="@+id/EmailEDT"

android:layout_width="match_parent"
android:layout_height="wrap_content"

android:background="@color/demo_light_transparent"
android:hint=" E-Mail"
android:inputType="textEmailAddress"
android:minHeight="48dp"
android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_30mdp"
android:layout_marginTop="@dimen/_15mdp"
android:background="@color/demo_light_transparent"
android:layout_marginEnd="@dimen/_30mdp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:background="@color/demo_light_transparent"
android:layout_height="match_parent">


<com.google.android.material.textfield.TextInputEditText
android:id="@+id/passwordEDT"

android:layout_width="match_parent"
android:layout_height="match_parent"

android:background="@color/demo_light_transparent"
android:hint=" Password"
android:inputType="textPassword"
android:maxLength="100"
android:minHeight="48dp"
android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_marginStart="@dimen/_30mdp"
android:layout_marginTop="@dimen/_15mdp"
android:layout_marginEnd="@dimen/_30mdp"
app:cardUseCompatPadding="true"
android:layout_height="match_parent" >

<Button
android:id="@+id/loginBtn"

android:layout_width="match_parent"
android:layout_height="wrap_content"

android:text="@string/wergewgetgetgetg" />
</androidx.cardview.widget.CardView>




<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:layout_marginTop="@dimen/_20mdp"
android:orientation="horizontal">

<TextView
android:id="@+id/textViesw113"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:text="Create Account "

android:textSize="@dimen/_15font_mdp"
android:textStyle="bold" />

<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
app:cardUseCompatPadding="true"
android:layout_height="wrap_content">
<TextView
android:id="@+id/gotosigninpage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" Sign In"
android:textColor="#5CFF00"
android:textSize="@dimen/_15font_mdp"
android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
app:cardUseCompatPadding="true"
android:layout_height="wrap_content">
<TextView
android:id="@+id/help"
android:layout_width="wrap_content"
android:layout_marginStart="@dimen/_3mdp"
android:textSize="@dimen/_25font_mdp"
android:layout_height="wrap_content"
android:textColor="@color/orange"
android:textStyle="bold"
android:layout_weight="1"
android:text="Help" />
</androidx.cardview.widget.CardView>

</LinearLayout>

</LinearLayout>
</ScrollView>


</androidx.constraintlayout.widget.ConstraintLayout>

beautiful android login and signup screens with material design

android-login screen design xml github
registration form ui design in android
android login screen design example
android studio login template

 <?xml version="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"

tools:context=".ctivities.SigninActivity">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical">

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"



android:text="Kherwara"
android:maxLines="1"
android:textSize="@dimen/_70mdp"
android:textStyle="bold"
app:autoSizeMaxTextSize="1000sp"
app:autoSizeMinTextSize="1sp"
app:autoSizeTextType="uniform" />

<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:maxLines="1"

android:text="App"
android:textSize="@dimen/_70mdp"
android:textStyle="bold"
app:autoSizeMaxTextSize="1000sp"
app:autoSizeMinTextSize="1sp"
app:autoSizeTextType="uniform" />


<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout11"
android:layout_width="match_parent"
android:layout_height="wrap_content"


>

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/nameEdT"

android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="Name | Shop name"
android:maxLength="50"
android:textSize="@dimen/_10mdp"
android:minHeight="48dp"
android:paddingStart="@dimen/_9mdp"
android:paddingEnd="@dimen/_9mdp"

android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"


>

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/professionEDT"

android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="@string/sdgg"
android:inputType="textPersonName"
android:maxLength="50"
android:minHeight="48dp"
android:textSize="@dimen/_10mdp"
android:paddingStart="@dimen/_9mdp"
android:paddingEnd="@dimen/_9mdp"
android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"

>

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/EmailEDT"

android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="@string/awerf"
android:inputType="textEmailAddress"
android:maxLength="100"
android:minHeight="48dp"
android:textSize="@dimen/_10mdp"
android:textStyle="bold"
tools:ignore="TextContrastCheck,TouchTargetSizeCheck" />
</com.google.android.material.textfield.TextInputLayout>
</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
app:cardUseCompatPadding="true">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout5"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Do Not Use YOUR orijnal paasword" />

<com.google.android.material.textfield.TextInputEditText
android:id="@+id/passwordEDT"

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/awefraf"
android:inputType="textPassword"
android:maxLength="50"
android:paddingStart="@dimen/_9mdp"
android:paddingEnd="@dimen/_9mdp"
android:textSize="@dimen/_10mdp"

android:textStyle="bold"
tools:ignore="TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout>

</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/textView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:layout_gravity="center"
android:layout_marginTop="16dp"
style="@style/FirebaseUI.Transparent"
android:gravity="center"
android:textSize="@dimen/_10mdp"
android:text="By continuing you agree to our Privacy policy,\n Rules and Terms of Service "

android:textStyle="bold" />

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginStart="@dimen/_32mdp"
android:layout_marginTop="@dimen/_10mdp"
android:layout_marginEnd="@dimen/_32mdp"
app:cardUseCompatPadding="true">

<com.google.android.material.button.MaterialButton
android:id="@+id/Signupbtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/afawerf" />
</androidx.cardview.widget.CardView>



<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="horizontal">

<TextView
android:id="@+id/help"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"

android:textColor="@color/green"
android:textSize="@dimen/_10mdp"
android:textStyle="bold" />

<TextView
android:id="@+id/textView13"

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/_10mdp"
android:gravity="center"
android:textSize="@dimen/_10mdp"
android:text="@string/dsfg"
android:textStyle="bold" />

<TextView
android:id="@+id/gotologinpage"

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="@dimen/_15mdp"
android:gravity="center"
android:text="@string/esfg"
android:textColor="#0019FF"
android:textSize="@dimen/_10mdp"
android:textStyle="bold" />

</LinearLayout>


</LinearLayout>
</ScrollView>

</androidx.constraintlayout.widget.ConstraintLayout>

Team

हमारी टीम हर समय आपकी मदद करने को तैयार है |

Aayush Parmar Kherwara

Aayush Parmar 

Developer 

I am Developer and Blogger of kherwara and oudaipur.tech website . Also I am freelancer blogger , App developer , youtube chennal Builder and set-up, Android UI maker , YouTube Video Set-up And all other Digital program I can set. You can Search @iamaayushparmar to know more about me. Thank You.    

kherwara App Icon

Kherwara App 

App

खेरवाड़ा उदयपुर जिले की एक तहसील है जिसमे 195 गावों मे 2 लाख से भी ज्यादा लोग रहते है और Kherwara App को खेरवाड़ा तहसील के लिए बनाया गया | जिससे खेरवाड़ा तहसील के लोग आपस मे जुड़ सके | और साथ ही आप खेरवाड़ा एप की मदद से शॉपिंग भी कर सकते है | और अपना पुराना सामान बेचने के साथ साथ खरीद भी  सकते है |

Oudaipur.tech

Oudaipur.Tech 

Website

Oudaipur.tech ये उदयपुर जिले की एक वेबसाईट है जो उदयपुर और उदयपुर के तहसीलो और उदयपुर के गावों के बारे मे जानकारी देती है | ईस वेबसाइट पर आप उदयपुर जिले के बारे बहुत कुछ जान सकते है |

#MakeInUdaipur

#MakeInUdaipur 

Our Dream

ईस कंपनी ,वेबसाइट का उद्देश्य उदयपुर जिले के लोगों को उदयपुर मे रहकर काम करने और उदयपुर को पूरे राजस्थान मे ही नहीं बल्कि पूरे भारत मे , पहले स्थान पर लाना है | पूरे दुनिया मे इसे एक अलग पहचान मिले | और अगर आप साथ है तो जल्द ही हमारा सपना पूरा हो जाएगा |