-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Design/#35] 모든 화면 appbar 뒤로가기 리스너 등록
- Loading branch information
Showing
22 changed files
with
123 additions
and
36 deletions.
There are no files selected for viewing
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
14 changes: 13 additions & 1 deletion
14
app/src/main/java/com/sopt/umbba_android/presentation/invite/InviteCodeActivity.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,10 +1,22 @@ | ||
package com.sopt.umbba_android.presentation.invite | ||
|
||
import android.os.Bundle | ||
import android.view.View | ||
import com.sopt.umbba_android.R | ||
import com.sopt.umbba_android.databinding.ActivityInviteCodeBinding | ||
import com.sopt.umbba_android.util.binding.BindingActivity | ||
|
||
class InviteCodeActivity : | ||
BindingActivity<ActivityInviteCodeBinding>(R.layout.activity_invite_code) { | ||
BindingActivity<ActivityInviteCodeBinding>(R.layout.activity_invite_code), | ||
View.OnClickListener { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
binding.clickListener = this | ||
} | ||
|
||
override fun onClick(view: View?) { | ||
when (view?.id) { | ||
R.id.iv_basic_back -> finish() | ||
} | ||
} | ||
} |
9 changes: 8 additions & 1 deletion
9
app/src/main/java/com/sopt/umbba_android/presentation/onboarding/InputInfoActivity.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,13 +1,20 @@ | ||
package com.sopt.umbba_android.presentation.onboarding | ||
|
||
import android.os.Bundle | ||
import android.view.View | ||
import com.sopt.umbba_android.R | ||
import com.sopt.umbba_android.databinding.ActivityInputInfoBinding | ||
import com.sopt.umbba_android.util.binding.BindingActivity | ||
|
||
class InputInfoActivity : BindingActivity<ActivityInputInfoBinding>(R.layout.activity_input_info) { | ||
class InputInfoActivity : BindingActivity<ActivityInputInfoBinding>(R.layout.activity_input_info), View.OnClickListener { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
binding.clickListener=this | ||
} | ||
|
||
override fun onClick(view: View?) { | ||
when(view?.id){ | ||
R.id.iv_basic_back->finish() | ||
} | ||
} | ||
} |
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
9 changes: 8 additions & 1 deletion
9
app/src/main/java/com/sopt/umbba_android/presentation/onboarding/QuestActivity.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
11 changes: 10 additions & 1 deletion
11
app/src/main/java/com/sopt/umbba_android/presentation/onboarding/SelectFamilyActivity.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,13 +1,22 @@ | ||
package com.sopt.umbba_android.presentation.onboarding | ||
|
||
import android.os.Bundle | ||
import android.view.View | ||
import com.sopt.umbba_android.R | ||
import com.sopt.umbba_android.databinding.ActivitySelectFamilyBinding | ||
import com.sopt.umbba_android.util.binding.BindingActivity | ||
|
||
class SelectFamilyActivity : BindingActivity<ActivitySelectFamilyBinding>(R.layout.activity_select_family) { | ||
class SelectFamilyActivity : | ||
BindingActivity<ActivitySelectFamilyBinding>(R.layout.activity_select_family), | ||
View.OnClickListener { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
binding.clickListener = this | ||
} | ||
|
||
override fun onClick(view: View?) { | ||
when (view?.id) { | ||
R.id.iv_basic_back -> finish() | ||
} | ||
} | ||
} |
12 changes: 10 additions & 2 deletions
12
app/src/main/java/com/sopt/umbba_android/presentation/onboarding/SetTimeActivity.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
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
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
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,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@color/umbba_white" android:state_enabled="false" /> | ||
<item android:color="@color/primary_500" android:state_enabled="true"/> | ||
<item android:color="@color/umbba_white" android:state_enabled="true" /> | ||
<item android:color="@color/primary_500" android:state_enabled="false"/> | ||
</selector> |
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,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/shape_gradient_btn_r50_rect" android:state_enabled="false" /> | ||
<item android:drawable="@drawable/shape_pri500_btn_stroke_r50_rect" android:state_enabled="true" /> | ||
<item android:drawable="@drawable/shape_gradient_btn_r50_rect" android:state_enabled="true" /> | ||
<item android:drawable="@drawable/shape_pri500_btn_stroke_r50_rect" android:state_enabled="false" /> | ||
</selector> |
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
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
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
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
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
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
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
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
Oops, something went wrong.