-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a78863
commit 24d7571
Showing
9 changed files
with
100 additions
and
6 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
...ion/src/main/java/com/going/presentation/todo/ourtodo/todolist/OurTodoCompleteFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package com.going.presentation.todo.ourtodo.todolist | ||
|
||
import com.going.presentation.R | ||
import com.going.presentation.databinding.FragmentOurTodoBinding | ||
import com.going.presentation.databinding.FragmentOurTodoCompleteBinding | ||
import com.going.ui.base.BaseFragment | ||
import dagger.hilt.android.AndroidEntryPoint | ||
|
||
@AndroidEntryPoint | ||
class OurTodoCompleteFragment() : BaseFragment<FragmentOurTodoBinding>(R.layout.fragment_our_todo) { | ||
class OurTodoCompleteFragment() : | ||
BaseFragment<FragmentOurTodoCompleteBinding>(R.layout.fragment_our_todo_complete) { | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
presentation/src/main/res/drawable/sel_todo_shape_tv_name.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item android:state_selected="false"> | ||
<shape android:shape="rectangle"> | ||
<stroke | ||
android:width="2dp" | ||
android:color="@color/gray_400" /> | ||
<corners android:radius="2dp" /> | ||
</shape> | ||
</item> | ||
|
||
<item android:state_selected="true"> | ||
<shape android:shape="rectangle"> | ||
<stroke | ||
android:width="2dp" | ||
android:color="@color/red_500" /> | ||
<corners android:radius="2dp" /> | ||
</shape> | ||
</item> | ||
|
||
</selector> |
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
presentation/src/main/res/drawable/shape_rect_4_gray50_fill.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
<corners android:radius="4dp" /> | ||
<solid | ||
android:color="@color/gray_50" /> | ||
</shape> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
presentation/src/main/res/layout/fragment_our_todo_complete.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?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> | ||
|
||
</data> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:id="@+id/layout_our_todo_complete" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/white_000"> | ||
|
||
<androidx.recyclerview.widget.RecyclerView | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/rv_our_todo_complete" | ||
android:layout_marginTop="8dp" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
android:layout_marginHorizontal="23dp" | ||
tools:listitem="@layout/item_our_todo"/> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?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="wrap_content" | ||
android:layout_marginTop="12dp" | ||
android:paddingBottom="15dp" | ||
android:background="@drawable/shape_rect_4_gray50_fill"> | ||
|
||
<TextView | ||
android:id="@+id/tv_our_todo_item_title" | ||
style="@style/TextAppearance.Doorip.Body3.Medi" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="16dp" | ||
android:textColor="@color/gray_700" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
tools:text="숙소 예약금 걸기" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_our_todo_item_date" | ||
style="@style/TextAppearance.Doorip.Detail3.Regular" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="16dp" | ||
android:layout_marginEnd="16dp" | ||
android:textColor="@color/gray_300" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
tools:text="2023.09.23까지" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |