-
-
Save fatihhcan/d1506787a200398bb1c5b8c7d3b8f323 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> | |
<ImageView | |
android:id="@+id/imageView" | |
android:layout_width="164dp" | |
android:layout_height="179dp" | |
android:layout_gravity="top" | |
android:layout_marginTop="36dp" | |
app:srcCompat="@drawable/logo" | |
android:layout_marginLeft="120dp" | |
/> | |
<TextView | |
android:id="@+id/textView" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:text="Welcome!" | |
android:textSize="27sp" | |
android:textStyle="bold" | |
android:layout_marginTop="20dp" | |
app:layout_constraintTop_toBottomOf="@+id/imageView" /> | |
<LinearLayout | |
android:layout_gravity="center" | |
android:orientation="vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="50dp" | |
> | |
<EditText | |
android:id="@+id/editTextEmailAddress" | |
android:layout_width="261dp" | |
android:layout_height="64dp" | |
android:hint="Email" | |
android:inputType="textEmailAddress" | |
/> | |
<EditText | |
android:id="@+id/editTextPassword" | |
android:layout_width="261dp" | |
android:layout_height="64dp" | |
android:layout_marginTop="28dp" | |
android:hint="Password" | |
android:inputType="textPassword" | |
/> | |
</LinearLayout> | |
<Button | |
android:id="@+id/button" | |
android:layout_width="212dp" | |
android:layout_height="51dp" | |
android:layout_marginTop="24dp" | |
android:layout_gravity="center" | |
android:text="LOGIN" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/editTextPassword" | |
app:layout_constraintVertical_bias="0.076" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment