118 lines
4.7 KiB
XML
118 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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:background="@drawable/bg_top_round_corner_15_263238">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/rl_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_back"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="13.3dp"
|
|
android:drawablePadding="6.7dp"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/character_comment_reply_title"
|
|
android:textColor="@color/white"
|
|
android:textSize="14.7sp"
|
|
app:drawableStartCompat="@drawable/ic_back"
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_close"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/iv_close" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_close"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="12dp"
|
|
android:contentDescription="@null"
|
|
android:paddingHorizontal="13.3dp"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
android:src="@drawable/ic_close_white"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_comment_input"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/rl_toolbar"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:layout_marginTop="20dp"
|
|
android:elevation="6dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_comment_profile"
|
|
android:layout_width="33.3dp"
|
|
android:layout_height="33.3dp"
|
|
android:contentDescription="@null"
|
|
tools:src="@drawable/ic_placeholder_profile" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_comment_input_box"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:background="@drawable/bg_round_corner_5_stroke_white"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="12dp"
|
|
android:paddingVertical="8dp">
|
|
|
|
<EditText
|
|
android:id="@+id/et_comment"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="8dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/transparent"
|
|
android:fontFamily="@font/pretendard_regular"
|
|
android:hint="@string/character_comment_input_hint"
|
|
android:imeOptions="actionSend"
|
|
android:importantForAutofill="no"
|
|
android:inputType="textCapSentences|textMultiLine"
|
|
android:maxLines="3"
|
|
android:padding="0dp"
|
|
android:textColor="@color/white"
|
|
android:textColorHint="@color/color_7c7c80"
|
|
android:textSize="14sp"
|
|
tools:ignore="NestedWeights" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_comment_send"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_message_send" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_below="@+id/ll_comment_input"
|
|
android:layout_marginTop="20dp"
|
|
android:background="#78909C" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_comment_reply"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_below="@+id/divider"
|
|
android:layout_alignParentBottom="true"
|
|
android:clipToPadding="false" />
|
|
</RelativeLayout>
|