otk-oth-application / app / src / main / res / layout / activity_info.xml
activity_info.xml
Raw
<?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=".view.login.InfoActivity">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:fontFamily="@font/korean"
        android:text="새로운 소개 !"
        android:textSize="12pt"
        app:layout_constraintBottom_toTopOf="@+id/infoImageView"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <de.hdodenhof.circleimageview.CircleImageView
        android:id="@+id/infoImageView"
        android:layout_width="150dp"
        android:layout_height="150dp"
        android:layout_marginBottom="350dp"
        android:elevation="7dp"
        android:src="@drawable/ic_add"
        app:civ_border_color="@android:color/white"
        app:civ_border_width="10dp"
        app:civ_circle_background_color="#FFFFFF"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <LinearLayout
        android:id="@+id/info_name_layout"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/bg_login_edit"
        android:orientation="vertical"
        android:paddingStart="30dp"
        android:paddingTop="15dp"
        android:paddingEnd="5dp"
        android:paddingBottom="15dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/infoImageView">

        <EditText
            android:id="@+id/info_name"
            android:layout_width="300dp"
            android:layout_height="wrap_content"
            android:background="@null"
            android:fontFamily="@font/korean"
            android:hint="닉네임"
            android:inputType="text"
            android:maxLength="25"
            android:maxLines="1" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/Woman"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/bg_login_edit"
        android:gravity="center"
        android:orientation="horizontal"
        android:paddingStart="15dp"
        android:paddingTop="5dp"
        android:paddingEnd="15dp"
        android:paddingBottom="5dp"
        app:layout_constraintBottom_toTopOf="@id/info_name_layout"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/infoImageView">

        <androidx.appcompat.widget.AppCompatCheckBox
            android:id="@+id/check_Woman"
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:button="@drawable/checkbox_custom" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:fontFamily="@font/korean"
            android:text="여성"
            android:textColor="@android:color/black" />

        <androidx.appcompat.widget.AppCompatCheckBox
            android:id="@+id/check_Man"
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="20dp"
            android:button="@drawable/checkbox_custom" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:fontFamily="@font/korean"
            android:text="남성"
            android:textColor="@android:color/black" />


    </LinearLayout>


    <androidx.appcompat.widget.AppCompatButton
        android:id="@+id/info_ok"
        style="@style/ButtonStyle"
        android:layout_width="335dp"
        android:layout_height="50dp"
        android:layout_marginTop="20dp"
        android:background="@drawable/bg_button"
        android:fontFamily="@font/korean"
        android:text="확인"
        android:textColor="@android:color/white"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/info_name_layout" />

</androidx.constraintlayout.widget.ConstraintLayout>