Skip to content

Commit

Permalink
➕ add : 프로필 사진 변경 리소스 추가
Browse files Browse the repository at this point in the history
> Related to : #26
  • Loading branch information
eunjjungg committed Jan 21, 2023
1 parent 67d6f57 commit aa53bfb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
18 changes: 18 additions & 0 deletions app/src/main/res/drawable/ic_profile_edit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="420.8"
android:viewportHeight="420.8">
<path
android:pathData="M210.4,210.4m-210.4,0a210.4,210.4 0,1 1,420.8 0a210.4,210.4 0,1 1,-420.8 0"
android:fillColor="#bac8d3"/>
<path
android:pathData="M347.88,130.6c-5.88,-6.16 -14,-9.8 -23.24,-9.8l-46.48,0l0,-0.56c0,-7 -2.8,-13.72 -7.56,-18.2 -4.76,-4.76 -11.2,-7.56 -18.2,-7.56l-84,0c-7.28,0 -13.72,2.8 -18.48,7.56 -4.76,4.76 -7.56,11.2 -7.56,18.2l0,0.56l-46.2,0c-9.24,0 -17.36,3.64 -23.24,9.8 -5.88,5.88 -9.8,14.28 -9.8,23.24l0,139.44C63.12,302.52 66.76,310.64 72.92,316.52c5.88,5.88 14.28,9.8 23.24,9.8l228.48,0c9.24,0 17.36,-3.64 23.24,-9.8 5.88,-5.88 9.8,-14.28 9.8,-23.24L357.68,153.84c0,-9.24 -3.64,-17.36 -9.8,-23.24zM343.12,293.28l-0.28,0c0,5.04 -1.96,9.52 -5.32,12.88s-7.84,5.32 -12.88,5.32L96.16,311.48c-5.04,0 -9.52,-1.96 -12.88,-5.32 -3.36,-3.36 -5.32,-7.84 -5.32,-12.88L77.96,153.84c0,-5.04 1.96,-9.52 5.32,-12.88s7.84,-5.32 12.88,-5.32l54.04,0c4.2,0 7.56,-3.36 7.56,-7.56L157.76,119.96c0,-3.08 1.12,-5.88 3.08,-7.84s4.76,-3.08 7.84,-3.08l83.72,0c3.08,0 5.88,1.12 7.84,3.08 1.96,1.96 3.08,4.76 3.08,7.84l0,8.12c0,4.2 3.36,7.56 7.56,7.56L324.92,135.64c5.04,0 9.52,1.96 12.88,5.32s5.32,7.84 5.32,12.88l0,139.44z"
android:fillColor="#ffffff"/>
<path
android:pathData="M210.4,154.68c-19.04,0 -36.4,7.84 -48.72,20.16 -12.6,12.6 -20.16,29.68 -20.16,48.72s7.84,36.4 20.16,48.72c12.6,12.6 29.68,20.16 48.72,20.16s36.4,-7.84 48.72,-20.16c12.6,-12.6 20.16,-29.68 20.16,-48.72s-7.84,-36.4 -20.16,-48.72c-12.32,-12.32 -29.68,-20.16 -48.72,-20.16zM248.48,261.92c-9.8,9.52 -23.24,15.68 -38.08,15.68S182.12,271.44 172.32,261.92c-9.8,-9.8 -15.68,-23.24 -15.68,-38.08 0,-14.84 6.16,-28.28 15.68,-38.08 9.8,-9.8 23.24,-15.68 38.08,-15.68s28.28,6.16 38.08,15.68c9.8,9.8 15.68,23.24 15.68,38.08 0.28,14.84 -5.88,28.28 -15.68,38.08z"
android:fillColor="#ffffff"/>
<path
android:pathData="M310.08,168.12m-13.72,0a13.72,13.72 0,1 1,27.44 0a13.72,13.72 0,1 1,-27.44 0"
android:fillColor="#ffffff"/>
</vector>
14 changes: 12 additions & 2 deletions app/src/main/res/layout/fragment_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,24 @@

<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/ivProfile"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_gravity="center"
android:src="@drawable/ic_profile"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"/>

<ImageView
android:id="@+id/btnChangeProfile"
android:layout_marginTop="8dp"
android:layout_marginEnd="@dimen/margin8"
android:layout_width="36dp"
android:layout_height="36dp"
android:src="@drawable/ic_profile_edit"
app:layout_constraintEnd_toEndOf="@+id/ivProfile"
app:layout_constraintTop_toTopOf="@+id/ivProfile" />

<TextView
android:id="@+id/tvId"
android:layout_width="wrap_content"
Expand Down

0 comments on commit aa53bfb

Please sign in to comment.