마이 페이지
- 로그인 했을 때만 데이터를 조회하도록 수정
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_logo_circle_gray.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_logo_circle_gray.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 4.0 KiB  | 
@@ -1,26 +1,14 @@
 | 
			
		||||
<?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:animateLayoutChanges="true"
 | 
			
		||||
    android:background="@color/black">
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/tv_toolbar"
 | 
			
		||||
        android:layout_width="0dp"
 | 
			
		||||
        android:layout_height="51.7dp"
 | 
			
		||||
        android:background="@color/black"
 | 
			
		||||
        android:fontFamily="@font/gmarket_sans_bold"
 | 
			
		||||
        android:gravity="center_vertical"
 | 
			
		||||
        android:paddingHorizontal="16.7dp"
 | 
			
		||||
        android:textColor="@color/color_eeeeee"
 | 
			
		||||
        android:textSize="18.3sp"
 | 
			
		||||
        app:layout_constraintEnd_toEndOf="parent"
 | 
			
		||||
        app:layout_constraintStart_toStartOf="parent"
 | 
			
		||||
        app:layout_constraintTop_toTopOf="parent"
 | 
			
		||||
        tools:text="바로, 상담 가능한 크리에이터" />
 | 
			
		||||
    <include
 | 
			
		||||
        android:id="@+id/toolbar"
 | 
			
		||||
        layout="@layout/detail_toolbar" />
 | 
			
		||||
 | 
			
		||||
    <LinearLayout
 | 
			
		||||
        android:id="@+id/ll_login_container"
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,8 @@
 | 
			
		||||
            android:layout_alignParentEnd="true"
 | 
			
		||||
            android:layout_centerVertical="true"
 | 
			
		||||
            android:contentDescription="@null"
 | 
			
		||||
            android:src="@drawable/ic_settings" />
 | 
			
		||||
            android:src="@drawable/ic_settings"
 | 
			
		||||
            android:visibility="gone" />
 | 
			
		||||
    </RelativeLayout>
 | 
			
		||||
 | 
			
		||||
    <androidx.core.widget.NestedScrollView
 | 
			
		||||
@@ -53,11 +54,34 @@
 | 
			
		||||
            android:paddingBottom="40dp">
 | 
			
		||||
 | 
			
		||||
            <LinearLayout
 | 
			
		||||
                android:id="@+id/ll_profile_login_container"
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:background="@drawable/bg_round_corner_16_7_222222"
 | 
			
		||||
                android:gravity="center"
 | 
			
		||||
                android:paddingVertical="24dp">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:id="@+id/tv_login"
 | 
			
		||||
                    android:layout_width="wrap_content"
 | 
			
		||||
                    android:layout_height="wrap_content"
 | 
			
		||||
                    android:drawablePadding="6dp"
 | 
			
		||||
                    android:fontFamily="@font/gmarket_sans_medium"
 | 
			
		||||
                    android:gravity="center_vertical"
 | 
			
		||||
                    android:text="Login"
 | 
			
		||||
                    android:textSize="32sp"
 | 
			
		||||
                    app:drawableStartCompat="@drawable/ic_logo_circle_gray" />
 | 
			
		||||
 | 
			
		||||
            </LinearLayout>
 | 
			
		||||
 | 
			
		||||
            <LinearLayout
 | 
			
		||||
                android:id="@+id/ll_profile_container"
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:background="@drawable/bg_round_corner_16_7_222222"
 | 
			
		||||
                android:gravity="center_vertical"
 | 
			
		||||
                android:padding="20dp">
 | 
			
		||||
                android:padding="20dp"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <ImageView
 | 
			
		||||
                    android:id="@+id/iv_profile"
 | 
			
		||||
@@ -115,7 +139,8 @@
 | 
			
		||||
                            android:layout_height="wrap_content"
 | 
			
		||||
                            android:layout_marginEnd="10dp"
 | 
			
		||||
                            android:contentDescription="@null"
 | 
			
		||||
                            android:src="@drawable/ic_website_circle" />
 | 
			
		||||
                            android:src="@drawable/ic_website_circle"
 | 
			
		||||
                            android:visibility="gone" />
 | 
			
		||||
 | 
			
		||||
                        <ImageView
 | 
			
		||||
                            android:id="@+id/iv_blog"
 | 
			
		||||
@@ -123,7 +148,8 @@
 | 
			
		||||
                            android:layout_height="wrap_content"
 | 
			
		||||
                            android:layout_marginEnd="10dp"
 | 
			
		||||
                            android:contentDescription="@null"
 | 
			
		||||
                            android:src="@drawable/ic_blog_circle" />
 | 
			
		||||
                            android:src="@drawable/ic_blog_circle"
 | 
			
		||||
                            android:visibility="gone" />
 | 
			
		||||
 | 
			
		||||
                        <ImageView
 | 
			
		||||
                            android:id="@+id/iv_instagram"
 | 
			
		||||
@@ -131,14 +157,16 @@
 | 
			
		||||
                            android:layout_height="wrap_content"
 | 
			
		||||
                            android:layout_marginEnd="10dp"
 | 
			
		||||
                            android:contentDescription="@null"
 | 
			
		||||
                            android:src="@drawable/ic_instagram_circle" />
 | 
			
		||||
                            android:src="@drawable/ic_instagram_circle"
 | 
			
		||||
                            android:visibility="gone" />
 | 
			
		||||
 | 
			
		||||
                        <ImageView
 | 
			
		||||
                            android:id="@+id/iv_youtube"
 | 
			
		||||
                            android:layout_width="wrap_content"
 | 
			
		||||
                            android:layout_height="wrap_content"
 | 
			
		||||
                            android:contentDescription="@null"
 | 
			
		||||
                            android:src="@drawable/ic_youtube_circle" />
 | 
			
		||||
                            android:src="@drawable/ic_youtube_circle"
 | 
			
		||||
                            android:visibility="gone" />
 | 
			
		||||
                    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
                </LinearLayout>
 | 
			
		||||
@@ -159,9 +187,11 @@
 | 
			
		||||
                android:visibility="gone" />
 | 
			
		||||
 | 
			
		||||
            <LinearLayout
 | 
			
		||||
                android:id="@+id/ll_following_member_list_container"
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:layout_marginTop="26.7dp">
 | 
			
		||||
                android:layout_marginTop="26.7dp"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:id="@+id/tv_following_list"
 | 
			
		||||
@@ -180,10 +210,10 @@
 | 
			
		||||
                    android:id="@+id/tv_block_member_list"
 | 
			
		||||
                    android:layout_width="0dp"
 | 
			
		||||
                    android:layout_height="wrap_content"
 | 
			
		||||
                    android:layout_marginStart="10.7dp"
 | 
			
		||||
                    android:layout_weight="1"
 | 
			
		||||
                    android:background="@drawable/bg_round_corner_6_7_13181b_3bb9f1"
 | 
			
		||||
                    android:fontFamily="@font/gmarket_sans_bold"
 | 
			
		||||
                    android:layout_marginStart="10.7dp"
 | 
			
		||||
                    android:gravity="center"
 | 
			
		||||
                    android:paddingVertical="13.3dp"
 | 
			
		||||
                    android:text="차단 리스트"
 | 
			
		||||
@@ -260,7 +290,8 @@
 | 
			
		||||
                android:layout_marginTop="13.3dp"
 | 
			
		||||
                android:background="@drawable/bg_round_corner_6_7_13181b"
 | 
			
		||||
                android:paddingHorizontal="13.3dp"
 | 
			
		||||
                android:paddingVertical="20dp">
 | 
			
		||||
                android:paddingVertical="20dp"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:id="@+id/tv_alarm"
 | 
			
		||||
@@ -297,7 +328,8 @@
 | 
			
		||||
                android:layout_marginTop="13.3dp"
 | 
			
		||||
                android:background="@drawable/bg_round_corner_6_7_13181b"
 | 
			
		||||
                android:paddingHorizontal="13.3dp"
 | 
			
		||||
                android:paddingVertical="20dp">
 | 
			
		||||
                android:paddingVertical="20dp"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:id="@+id/tv_coupon"
 | 
			
		||||
@@ -328,10 +360,12 @@
 | 
			
		||||
            </RelativeLayout>
 | 
			
		||||
 | 
			
		||||
            <LinearLayout
 | 
			
		||||
                android:id="@+id/ll_locker_container"
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:layout_marginTop="40dp"
 | 
			
		||||
                android:orientation="vertical">
 | 
			
		||||
                android:orientation="vertical"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:layout_width="wrap_content"
 | 
			
		||||
@@ -377,10 +411,12 @@
 | 
			
		||||
            </LinearLayout>
 | 
			
		||||
 | 
			
		||||
            <LinearLayout
 | 
			
		||||
                android:id="@+id/ll_reservation_status_container"
 | 
			
		||||
                android:layout_width="match_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:layout_marginTop="40dp"
 | 
			
		||||
                android:orientation="vertical">
 | 
			
		||||
                android:orientation="vertical"
 | 
			
		||||
                android:visibility="gone">
 | 
			
		||||
 | 
			
		||||
                <TextView
 | 
			
		||||
                    android:layout_width="wrap_content"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user