<?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"
android:background="@android:color/white"
tools:context=".view.user.MypageActivity">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/profile_Appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.Toolbar
android:id="@+id/profile_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
app:navigationIcon="@drawable/ic_arrow_back_black_24dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/korean"
android:text="마이 페이지"
android:textColor="@android:color/black"
android:textSize="7pt" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<RelativeLayout
android:id="@+id/userImageLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#f5f5f5"
android:padding="30dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/profile_Appbar">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/profile_Image"
android:layout_width="125dp"
android:layout_height="125dp"
android:layout_centerInParent="true"
android:backgroundTint="@android:color/black"
android:elevation="4dp"
android:padding="15dp"
android:src="@drawable/ic_person_outline"
app:civ_border_color="@color/colorPrimary"
app:civ_border_width="1dp"
app:civ_circle_background_color="@android:color/white" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/userImageLayout">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginTop="30dp"
android:layout_marginBottom="10dp"
android:fontFamily="@font/korean"
android:text="@string/nickname"
android:textColor="@color/colorPrimary"
android:textStyle="bold" />
<RelativeLayout
android:id="@+id/profile_Layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:orientation="horizontal">
<TextView
android:id="@+id/profile_Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerInParent="true"
android:layout_marginStart="30dp"
android:text="오똑캐 오톡해"
android:textColor="#1f1f1f"
android:textSize="7pt" />
<EditText
android:id="@+id/edit_Nickname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerInParent="true"
android:layout_marginStart="25dp"
android:layout_marginEnd="70dp"
android:fontFamily="@font/font_family"
android:lines="1"
android:maxLength="10"
android:singleLine="true"
android:textSize="7pt"
android:visibility="invisible" />
<TextView
android:id="@+id/ok_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginEnd="20dp"
android:layout_marginBottom="20dp"
android:background="@drawable/outline"
android:fontFamily="@font/korean"
android:paddingStart="10dp"
android:paddingTop="2dp"
android:paddingEnd="10dp"
android:paddingBottom="2dp"
android:text="완료" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="#f5f5f5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="28dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="24dp"
android:fontFamily="@font/korean"
android:text="성별 :"
android:textColor="@color/colorPrimary"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="24dp"
android:text="오똑캐"
android:textColor="@android:color/black" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="#f5f5f5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="28dp"
android:layout_marginTop="28dp"
android:layout_marginBottom="28dp"
android:fontFamily="@font/korean"
android:text="포인트 : "
android:textColor="@color/colorPrimary"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginTop="28dp"
android:layout_marginBottom="28dp"
android:fontFamily="@font/korean"
android:text="0"
android:textColor="@android:color/black" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="#f5f5f5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/userDelete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginBottom="24dp"
android:text="회원탈퇴"
android:textColor="#ee5959"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="#f5f5f5" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@font/korean"
android:text="© 2019, 오똑캐 오톡해"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>