Skip to content

Commit

Permalink
#162 / AppCompatButton으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
l2zh committed Dec 10, 2023
1 parent c3cf188 commit e5d8083
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TimerActiveFragment(total: Float) :
private val updateTimer =
object : CountDownTimer(
(totalTime * MILLISECONDS + updateIntervalMillis).roundToLong(),
updateIntervalMillis
updateIntervalMillis,
) {
override fun onTick(millisUntilFinished: Long) {
getLeftTime()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package sopt.uni.presentation.timer

import android.content.Intent
import android.os.Bundle
import android.view.View
import sopt.uni.R
import sopt.uni.databinding.TitleAction2DialogBinding
import sopt.uni.presentation.BindingDialogFragment
import sopt.uni.presentation.shortgame.missionrecord.MissionRecordActivity
import sopt.uni.util.extension.setOnSingleClickListener

class TimerDialogFragment :
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/fragment_timer_active.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
app:layout_constraintTop_toTopOf="@id/iv_inside_circular"
tools:text="00:00" />

<Button
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_timer_left"
style="@style/Body1"
android:layout_width="wrap_content"
Expand All @@ -80,7 +80,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />

<Button
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_timer_continue"
style="@style/Body1"
android:layout_width="wrap_content"
Expand All @@ -98,7 +98,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/btn_timer_left" />

<Button
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_timer_stop"
style="@style/Body1"
android:layout_width="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_timer_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@

</androidx.constraintlayout.widget.ConstraintLayout>

<Button
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_timer_start"
style="@style/Body1"
android:layout_width="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<dimen name="divider_width">49dp</dimen>
<dimen name="on_boarding_image">328dp</dimen>
<dimen name="dialog_width">300dp</dimen>
<dimen name="dialog_height">150dp</dimen>
<dimen name="dialog_height">165dp</dimen>
</resources>

0 comments on commit e5d8083

Please sign in to comment.