Skip to content

Commit

Permalink
#16 [ui] ToDo 아이템 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
2zerozu committed Jul 8, 2022
1 parent f8cf833 commit e468ee6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions app/src/main/res/layout/item_home_to_do.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<layout 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">

<data>

<variable
name="todoData"
type="com.hous.housaoslab.ui.home.model.ToDoData" />
</data>

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="9dp">

<ImageView
android:id="@+id/iv_home_to_do"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/shape_blue_fill_circle"
app:layout_constraintBottom_toBottomOf="@id/tv_home_to_do"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_home_to_do" />

<TextView
android:id="@+id/tv_home_to_do"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:textColor="@color/black"
android:textSize="13sp"
android:textStyle="bold"
app:layout_constraintStart_toEndOf="@id/iv_home_to_do"
app:layout_constraintTop_toTopOf="parent"
tools:text="청소기 돌리기" />

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit e468ee6

Please sign in to comment.