|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
| 5 | + android:layout_width="match_parent" |
| 6 | + android:layout_height="match_parent" |
| 7 | + tools:context=".MainActivity" |
| 8 | + android:background="@drawable/mainback"> |
| 9 | + |
| 10 | + <de.hdodenhof.circleimageview.CircleImageView |
| 11 | + android:layout_width="120dp" |
| 12 | + android:layout_height="100dp" |
| 13 | + android:layout_marginTop="70dp" |
| 14 | + app:layout_constraintEnd_toEndOf="parent" |
| 15 | + app:layout_constraintStart_toStartOf="parent" |
| 16 | + app:layout_constraintTop_toTopOf="@+id/linearLayout" |
| 17 | + android:id="@+id/logo"/> |
| 18 | + |
| 19 | + <!-- Made By Divyam Oza(OD)--> |
| 20 | + <!-- --> |
| 21 | + |
| 22 | + <LinearLayout |
| 23 | + android:id="@+id/linearLayout" |
| 24 | + android:layout_width="match_parent" |
| 25 | + android:layout_height="match_parent" |
| 26 | + android:layout_gravity="center" |
| 27 | + android:gravity="center" |
| 28 | + android:orientation="vertical"> |
| 29 | + |
| 30 | + <LinearLayout |
| 31 | + android:layout_width="match_parent" |
| 32 | + android:layout_height="wrap_content" |
| 33 | + android:layout_marginLeft="25dp" |
| 34 | + android:layout_marginRight="25dp" |
| 35 | + android:layout_marginBottom="15dp" |
| 36 | + android:background="@drawable/etback" |
| 37 | + android:orientation="horizontal"> |
| 38 | + |
| 39 | + <ImageView |
| 40 | + android:layout_width="40dp" |
| 41 | + android:layout_height="30dp" |
| 42 | + android:layout_gravity="center" |
| 43 | + |
| 44 | + android:tint="@android:color/white" |
| 45 | + android:layout_marginLeft="5dp" |
| 46 | + android:id="@+id/unmlogo"/> |
| 47 | + |
| 48 | + <EditText |
| 49 | + android:id="@+id/et_username" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="30dp" |
| 52 | + android:layout_marginLeft="10dp" |
| 53 | + android:layout_marginRight="30dp" |
| 54 | + android:layout_marginBottom="10dp" |
| 55 | + android:background="@null" |
| 56 | + android:gravity="center_vertical" |
| 57 | + android:drawableTint="@android:color/white" |
| 58 | + android:hint="User Name " |
| 59 | + android:singleLine="true" |
| 60 | + android:textAppearance="@style/TextAppearance.AppCompat.Title" |
| 61 | + android:textColor="@android:color/white" |
| 62 | + android:textColorHint="@android:color/white" |
| 63 | + android:layout_gravity="start" |
| 64 | + android:fontFamily="sans-serif-condensed" |
| 65 | + /> |
| 66 | + |
| 67 | + </LinearLayout> |
| 68 | + |
| 69 | + <LinearLayout |
| 70 | + android:layout_width="match_parent" |
| 71 | + android:layout_height="wrap_content" |
| 72 | + android:layout_marginLeft="25dp" |
| 73 | + android:layout_marginRight="25dp" |
| 74 | + android:background="@drawable/etback" |
| 75 | + android:orientation="horizontal"> |
| 76 | + |
| 77 | + <!-- Made By Divyam Oza(OD)--> |
| 78 | + <!-- --> |
| 79 | + |
| 80 | + <ImageView |
| 81 | + android:layout_width="40dp" |
| 82 | + android:layout_height="30dp" |
| 83 | + android:layout_gravity="center" |
| 84 | + android:tint="@android:color/white" |
| 85 | + android:layout_marginLeft="5dp" |
| 86 | + android:id="@+id/passlogo"/> |
| 87 | + |
| 88 | + <EditText |
| 89 | + android:id="@+id/et_password" |
| 90 | + android:layout_width="match_parent" |
| 91 | + android:layout_height="30dp" |
| 92 | + android:layout_marginLeft="10dp" |
| 93 | + android:layout_marginRight="30dp" |
| 94 | + android:layout_marginBottom="10dp" |
| 95 | + android:background="@null" |
| 96 | + android:layout_gravity="start|center_horizontal" |
| 97 | + android:drawableTint="@android:color/white" |
| 98 | + android:hint="Password " |
| 99 | + android:password="true" |
| 100 | + android:textAppearance="@style/TextAppearance.AppCompat.Title" |
| 101 | + android:textColor="@android:color/white" |
| 102 | + android:textColorHint="@android:color/white" |
| 103 | + android:gravity="start|center_vertical" |
| 104 | + android:fontFamily="sans-serif-condensed"/> |
| 105 | + |
| 106 | + </LinearLayout> |
| 107 | + |
| 108 | + <CheckBox |
| 109 | + android:id="@+id/rememberme" |
| 110 | + android:layout_width="wrap_content" |
| 111 | + android:layout_height="wrap_content" |
| 112 | + android:layout_gravity="start" |
| 113 | + android:layout_marginLeft="30dp" |
| 114 | + android:layout_marginTop="10dp" |
| 115 | + android:layout_marginBottom="20sp" |
| 116 | + android:buttonTint="@android:color/white" |
| 117 | + android:text="Remember Me" |
| 118 | + android:textColor="@android:color/white" |
| 119 | + android:textStyle="italic" |
| 120 | + android:fontFamily="monospace"/> |
| 121 | + |
| 122 | +<!-- Made By Divyam Oza(OD)--> |
| 123 | +<!-- --> |
| 124 | + <Button |
| 125 | + android:id="@+id/btnsave" |
| 126 | + android:layout_width="match_parent" |
| 127 | + android:layout_height="wrap_content" |
| 128 | + android:layout_marginLeft="25dp" |
| 129 | + android:layout_marginRight="25dp" |
| 130 | + android:background="@drawable/btnback" |
| 131 | + android:fontFamily="sans-serif-condensed" |
| 132 | + android:text="SUBMIT" |
| 133 | + android:textAppearance="@style/TextAppearance.AppCompat.Large" |
| 134 | + android:textColor="#fc3f61" |
| 135 | + android:textSize="25dp" |
| 136 | + android:textStyle="bold" /> |
| 137 | + |
| 138 | + </LinearLayout> |
| 139 | +</androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments