62 lines
2.5 KiB
XML
62 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView 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="144dp"
|
|
android:layout_height="204dp"
|
|
app:cardBackgroundColor="#263238"
|
|
app:cardCornerRadius="16dp">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_profile"
|
|
android:layout_width="84dp"
|
|
android:layout_height="84dp"
|
|
android:layout_gravity="center"
|
|
android:contentDescription="@null"
|
|
android:scaleType="centerCrop"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_marginVertical="8dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toTopOf="@+id/tv_time_ago"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/iv_profile">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_nickname"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/pretendard_regular"
|
|
android:gravity="center"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
tools:text="도화" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_time_ago"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/pretendard_regular"
|
|
android:gravity="center"
|
|
android:textColor="#78909C"
|
|
android:textSize="16sp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
tools:text="111" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|