Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(alarm): 알람 화면 미구현 안내문 view #81

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class AlarmFragment : BaseFragment<FragmentAlarmBinding>(
}

private fun initViews() {
binding.recyclerView.adapter = alarmAdapter
// binding.recyclerView.adapter = alarmAdapter
}
}
47 changes: 39 additions & 8 deletions DeliBuddy/app/src/main/res/layout/fragment_alarm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:padding="14dp"
android:orientation="vertical">

Expand All @@ -18,13 +17,45 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
<!-- <androidx.recyclerview.widget.RecyclerView-->
<!-- android:id="@+id/recycler_view"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:overScrollMode="never"-->
<!-- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"-->
<!-- tools:listitem="@layout/view_holder_alarm_comment"-->
<!-- android:layout_marginTop="20dp"/>-->

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/view_holder_alarm_comment"
android:layout_marginTop="20dp"/>
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center">

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/empty_title"
style="@style/RobotoBold16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="곧 업데이트 될 에정이에요 :’("
android:textColor="@color/text_black"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<androidx.appcompat.widget.AppCompatTextView
style="@style/RobotoRegular14"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center"
android:text="오픈되면 알려드릴게요"
android:textColor="@color/text_grey"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/empty_title" />

</androidx.constraintlayout.widget.ConstraintLayout>

</LinearLayout>