fix(chat): 캐릭터 상세
- 세계관 -> [세계관 및 작품 소개] - 성격 -> [성격 및 특징] - 전체보기 -> 더보기
This commit is contained in:
		@@ -11,10 +11,10 @@ import androidx.recyclerview.widget.RecyclerView
 | 
				
			|||||||
import coil.load
 | 
					import coil.load
 | 
				
			||||||
import kr.co.vividnext.sodalive.R
 | 
					import kr.co.vividnext.sodalive.R
 | 
				
			||||||
import kr.co.vividnext.sodalive.base.BaseActivity
 | 
					import kr.co.vividnext.sodalive.base.BaseActivity
 | 
				
			||||||
 | 
					import kr.co.vividnext.sodalive.chat.talk.room.ChatRoomActivity
 | 
				
			||||||
import kr.co.vividnext.sodalive.common.LoadingDialog
 | 
					import kr.co.vividnext.sodalive.common.LoadingDialog
 | 
				
			||||||
import kr.co.vividnext.sodalive.databinding.ActivityCharacterDetailBinding
 | 
					import kr.co.vividnext.sodalive.databinding.ActivityCharacterDetailBinding
 | 
				
			||||||
import kr.co.vividnext.sodalive.extensions.dpToPx
 | 
					import kr.co.vividnext.sodalive.extensions.dpToPx
 | 
				
			||||||
import kr.co.vividnext.sodalive.chat.talk.room.ChatRoomActivity
 | 
					 | 
				
			||||||
import org.koin.androidx.viewmodel.ext.android.viewModel
 | 
					import org.koin.androidx.viewmodel.ext.android.viewModel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class CharacterDetailActivity : BaseActivity<ActivityCharacterDetailBinding>(
 | 
					class CharacterDetailActivity : BaseActivity<ActivityCharacterDetailBinding>(
 | 
				
			||||||
@@ -216,7 +216,7 @@ class CharacterDetailActivity : BaseActivity<ActivityCharacterDetailBinding>(
 | 
				
			|||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            // 접힘 상태 (3줄)
 | 
					            // 접힘 상태 (3줄)
 | 
				
			||||||
            applyWorldviewCollapsedLayout()
 | 
					            applyWorldviewCollapsedLayout()
 | 
				
			||||||
            binding.tvWorldviewExpand.text = "전체보기"
 | 
					            binding.tvWorldviewExpand.text = "더보기"
 | 
				
			||||||
            binding.ivWorldviewExpand.setImageResource(R.drawable.ic_chevron_down)
 | 
					            binding.ivWorldviewExpand.setImageResource(R.drawable.ic_chevron_down)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -235,7 +235,7 @@ class CharacterDetailActivity : BaseActivity<ActivityCharacterDetailBinding>(
 | 
				
			|||||||
            binding.ivPersonalityExpand.setImageResource(R.drawable.ic_chevron_up)
 | 
					            binding.ivPersonalityExpand.setImageResource(R.drawable.ic_chevron_up)
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            applyPersonalityCollapsedLayout()
 | 
					            applyPersonalityCollapsedLayout()
 | 
				
			||||||
            binding.tvPersonalityExpand.text = "전체보기"
 | 
					            binding.tvPersonalityExpand.text = "더보기"
 | 
				
			||||||
            binding.ivPersonalityExpand.setImageResource(R.drawable.ic_chevron_down)
 | 
					            binding.ivPersonalityExpand.setImageResource(R.drawable.ic_chevron_down)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -129,7 +129,7 @@
 | 
				
			|||||||
                    android:layout_width="match_parent"
 | 
					                    android:layout_width="match_parent"
 | 
				
			||||||
                    android:layout_height="wrap_content"
 | 
					                    android:layout_height="wrap_content"
 | 
				
			||||||
                    android:fontFamily="@font/pretendard_bold"
 | 
					                    android:fontFamily="@font/pretendard_bold"
 | 
				
			||||||
                    android:text="세계관"
 | 
					                    android:text="[세계관 및 작품 소개]"
 | 
				
			||||||
                    android:textColor="@color/white"
 | 
					                    android:textColor="@color/white"
 | 
				
			||||||
                    android:textSize="16sp" />
 | 
					                    android:textSize="16sp" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -145,15 +145,16 @@
 | 
				
			|||||||
                    android:textSize="16sp"
 | 
					                    android:textSize="16sp"
 | 
				
			||||||
                    tools:text="특별한 꽃을 길러낼 수 있는 능력을 가진 리엘라.\n\n그녀는 호손 공작의 상속자가 되고 말아버리는데..." />
 | 
					                    tools:text="특별한 꽃을 길러낼 수 있는 능력을 가진 리엘라.\n\n그녀는 호손 공작의 상속자가 되고 말아버리는데..." />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <!-- 전체보기 버튼 -->
 | 
					                <!-- 더보기 버튼 -->
 | 
				
			||||||
                <LinearLayout
 | 
					                <LinearLayout
 | 
				
			||||||
                    android:id="@+id/ll_worldview_expand"
 | 
					                    android:id="@+id/ll_worldview_expand"
 | 
				
			||||||
                    android:layout_width="wrap_content"
 | 
					                    android:layout_width="wrap_content"
 | 
				
			||||||
                    android:layout_height="wrap_content"
 | 
					                    android:layout_height="wrap_content"
 | 
				
			||||||
                    android:layout_gravity="end"
 | 
					                    android:layout_gravity="center"
 | 
				
			||||||
                    android:layout_marginTop="8dp"
 | 
					                    android:layout_marginTop="8dp"
 | 
				
			||||||
                    android:gravity="center_vertical"
 | 
					                    android:gravity="center_vertical"
 | 
				
			||||||
                    android:orientation="horizontal">
 | 
					                    android:orientation="horizontal"
 | 
				
			||||||
 | 
					                    tools:ignore="UseCompoundDrawables">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    <ImageView
 | 
					                    <ImageView
 | 
				
			||||||
                        android:id="@+id/iv_worldview_expand"
 | 
					                        android:id="@+id/iv_worldview_expand"
 | 
				
			||||||
@@ -167,7 +168,7 @@
 | 
				
			|||||||
                        android:layout_width="wrap_content"
 | 
					                        android:layout_width="wrap_content"
 | 
				
			||||||
                        android:layout_height="wrap_content"
 | 
					                        android:layout_height="wrap_content"
 | 
				
			||||||
                        android:fontFamily="@font/pretendard_regular"
 | 
					                        android:fontFamily="@font/pretendard_regular"
 | 
				
			||||||
                        android:text="전체보기"
 | 
					                        android:text="더보기"
 | 
				
			||||||
                        android:textColor="@color/color_607d8b"
 | 
					                        android:textColor="@color/color_607d8b"
 | 
				
			||||||
                        android:textSize="14sp" />
 | 
					                        android:textSize="14sp" />
 | 
				
			||||||
                </LinearLayout>
 | 
					                </LinearLayout>
 | 
				
			||||||
@@ -234,7 +235,7 @@
 | 
				
			|||||||
                    android:layout_width="match_parent"
 | 
					                    android:layout_width="match_parent"
 | 
				
			||||||
                    android:layout_height="wrap_content"
 | 
					                    android:layout_height="wrap_content"
 | 
				
			||||||
                    android:fontFamily="@font/pretendard_bold"
 | 
					                    android:fontFamily="@font/pretendard_bold"
 | 
				
			||||||
                    android:text="성격"
 | 
					                    android:text="[성격 및 특징]"
 | 
				
			||||||
                    android:textColor="@color/white"
 | 
					                    android:textColor="@color/white"
 | 
				
			||||||
                    android:textSize="16sp" />
 | 
					                    android:textSize="16sp" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -250,15 +251,16 @@
 | 
				
			|||||||
                    android:textSize="16sp"
 | 
					                    android:textSize="16sp"
 | 
				
			||||||
                    tools:text="밝고 쾌활하지만 때로는 고집이 센 면모도 있습니다.\n\n친구를 소중히 여기며, 어려움 앞에서도 물러서지 않습니다." />
 | 
					                    tools:text="밝고 쾌활하지만 때로는 고집이 센 면모도 있습니다.\n\n친구를 소중히 여기며, 어려움 앞에서도 물러서지 않습니다." />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <!-- 전체보기 버튼 -->
 | 
					                <!-- 더보기 버튼 -->
 | 
				
			||||||
                <LinearLayout
 | 
					                <LinearLayout
 | 
				
			||||||
                    android:id="@+id/ll_personality_expand"
 | 
					                    android:id="@+id/ll_personality_expand"
 | 
				
			||||||
                    android:layout_width="wrap_content"
 | 
					                    android:layout_width="wrap_content"
 | 
				
			||||||
                    android:layout_height="wrap_content"
 | 
					                    android:layout_height="wrap_content"
 | 
				
			||||||
                    android:layout_gravity="end"
 | 
					                    android:layout_gravity="center"
 | 
				
			||||||
                    android:layout_marginTop="8dp"
 | 
					                    android:layout_marginTop="8dp"
 | 
				
			||||||
                    android:gravity="center_vertical"
 | 
					                    android:gravity="center_vertical"
 | 
				
			||||||
                    android:orientation="horizontal">
 | 
					                    android:orientation="horizontal"
 | 
				
			||||||
 | 
					                    tools:ignore="UseCompoundDrawables">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    <ImageView
 | 
					                    <ImageView
 | 
				
			||||||
                        android:id="@+id/iv_personality_expand"
 | 
					                        android:id="@+id/iv_personality_expand"
 | 
				
			||||||
@@ -272,7 +274,7 @@
 | 
				
			|||||||
                        android:layout_width="wrap_content"
 | 
					                        android:layout_width="wrap_content"
 | 
				
			||||||
                        android:layout_height="wrap_content"
 | 
					                        android:layout_height="wrap_content"
 | 
				
			||||||
                        android:fontFamily="@font/pretendard_regular"
 | 
					                        android:fontFamily="@font/pretendard_regular"
 | 
				
			||||||
                        android:text="전체보기"
 | 
					                        android:text="더보기"
 | 
				
			||||||
                        android:textColor="@color/color_607d8b"
 | 
					                        android:textColor="@color/color_607d8b"
 | 
				
			||||||
                        android:textSize="14sp" />
 | 
					                        android:textSize="14sp" />
 | 
				
			||||||
                </LinearLayout>
 | 
					                </LinearLayout>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user