Created
May 23, 2020 12:24
-
-
Save siisee11/0e0f3873a8b3250ab16cf95b6ad68afe 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"?> | |
<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=".ProfileActivity"> | |
<ImageView | |
android:id="@+id/profile_image" | |
android:layout_width="150dp" | |
android:layout_height="150dp" | |
android:layout_centerHorizontal="true" | |
android:layout_marginStart="128dp" | |
android:layout_marginLeft="128dp" | |
android:layout_marginTop="82dp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/profile_text" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@id/profile_image" | |
android:layout_centerHorizontal="true" | |
android:layout_marginStart="156dp" | |
android:layout_marginLeft="156dp" | |
android:layout_marginTop="80dp" | |
android:textSize="16sp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/profile_image" | |
tools:text="JY" /> | |
<TextView | |
android:id="@+id/profile_email" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@id/profile_text" | |
android:layout_centerHorizontal="true" | |
android:layout_marginStart="125dp" | |
android:layout_marginLeft="125dp" | |
android:layout_marginTop="68dp" | |
android:textSize="14sp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/profile_text" | |
tools:text="user@gmail.com" /> | |
<Button | |
android:id="@+id/sign_out" | |
android:layout_width="140dp" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true" | |
android:layout_centerHorizontal="true" | |
android:layout_marginStart="135dp" | |
android:layout_marginLeft="135dp" | |
android:layout_marginBottom="44dp" | |
android:text="SIGN OUT" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintStart_toStartOf="parent" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment