Skip to content

Commit

Permalink
new theme added
Browse files Browse the repository at this point in the history
  • Loading branch information
janakbist committed Mar 6, 2022
1 parent 55e662b commit 8bd957b
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 20 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/src/main/res/drawable/ic_lock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:fillColor="@android:color/darker_gray"
android:pathData="M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z"/>
</vector>
65 changes: 46 additions & 19 deletions app/src/main/res/layout/login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
android:background="@drawable/round_shape"
android:drawableStart="@drawable/ic_email"
android:drawablePadding="16px"
android:drawableTint="#FF03FD0D"
android:drawableTint="#00A300"
android:hint="Email"
android:inputType="textEmailAddress"
android:padding="18dp" />
android:padding="18dp"
android:textColorHint="@color/fullgreen" />

<EditText
android:id="@+id/password"
Expand All @@ -43,26 +44,52 @@
android:background="@drawable/round_shape"
android:drawableStart="@drawable/ic_lock"
android:drawablePadding="16px"
android:drawableTint="#FF03FD0D"
android:drawableTint="#00A300"
android:hint="Password"
android:inputType="textPassword"
android:padding="18dp" />
android:padding="18dp"
android:textColorHint="@color/fullgreen" />

<Button
android:id="@+id/loginbtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/password"
android:text="Login"
android:padding="16px"
android:layout_marginStart="10dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:layout_centerHorizontal="true"
android:textColor="@color/darkBlack"
android:backgroundTint="@color/green"
android:textAllCaps="false"/>
<!-- android:textColorHint="@color/black"-->

<Button
android:id="@+id/loginbtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/password"
android:layout_centerHorizontal="true"
android:layout_marginTop="15dp"
android:layout_marginEnd="10dp"
android:backgroundTint="#00A300"
android:padding="16px"
android:text="Login"
android:textAllCaps="false"
android:textColor="@color/white" />
<TextView
android:id="@+id/forgot_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/loginbtn"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:text="Forgot Password ?"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:textAlignment="center"
android:layout_marginBottom="10dp"
android:padding="16dp"
android:textColor="@color/fullgreen"
android:textAllCaps="true"
/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/forgot_password"
android:layout_centerHorizontal="true"
android:text=" New User ? Register Now"
android:textColor="@color/fullgreen"
android:textAllCaps="true"/>



Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
<color name="darkBlack">#273036</color>
<color name="lightBlue">#D7E7EC</color>
<color name="green">#FF03FD0D</color>
<color name="fullgreen">#00A300</color>
</resources>

0 comments on commit 8bd957b

Please sign in to comment.