Skip to content

Commit

Permalink
fix : 개인정보화면 이미지뷰 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Nov 15, 2023
1 parent 435b6fc commit 9f40233
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 8 deletions.
21 changes: 21 additions & 0 deletions feat/personal/src/main/res/drawable/imageperson.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="178dp"
android:height="178dp"
android:viewportWidth="178"
android:viewportHeight="178">
<path
android:pathData="M89,89m-89,0a89,89 0,1 1,178 0a89,89 0,1 1,-178 0"
android:fillColor="#DCEDF9"/>
<path
android:pathData="M74.74,123.39C41.71,108.46 51.68,50.55 51.68,50.55C51.68,50.55 109.59,40.58 124.52,73.61C131.98,90.12 113.61,112.49 113.61,112.49C113.61,112.49 91.25,130.85 74.74,123.39Z"
android:strokeWidth="7"
android:fillColor="#00000000"
android:strokeColor="#0080FF"/>
<path
android:pathData="M73.66,72.53L89.64,88.51M127.6,126.47L99.63,98.5M99.63,98.5L105.21,76.93M99.63,98.5L89.64,88.51M89.64,88.51L70.33,91.83"
android:strokeLineJoin="round"
android:strokeWidth="7"
android:fillColor="#00000000"
android:strokeColor="#0080FF"
android:strokeLineCap="round"/>
</vector>
28 changes: 20 additions & 8 deletions feat/personal/src/main/res/layout/activity_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
xmlns:tools="http://schemas.android.com/tools">

<data>

<variable
name="vm"
type="com.konkuk.personal.ui.settings.SettingsViewModel" />
</data>


<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -39,28 +41,38 @@
android:layout_height="4dp"
android:layout_marginTop="20dp"
android:background="@color/light_blue"
android:visibility="invisible"
app:layout_constraintTop_toBottomOf="@id/iv_back_btn" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_margin="24dp"
android:layout_marginHorizontal="24dp"
android:layout_marginTop="30dp"
android:layout_marginBottom="24dp"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/horizontal_line1"
tools:layout_editor_absoluteX="24dp">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/imageperson" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:text="이름 또는 닉네임" />

<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/ll_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="8dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
Expand All @@ -86,15 +98,15 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="나이"
android:layout_marginTop="32dp"/>
android:layout_marginTop="32dp"
android:text="나이" />

<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/ll_age"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="8dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
Expand All @@ -120,15 +132,15 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="성별"
android:layout_marginTop="32dp"/>
android:layout_marginTop="32dp"
android:text="성별" />

<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/ll_gender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="8dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
Expand Down

0 comments on commit 9f40233

Please sign in to comment.