diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1eb2e997c..4007d975e 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -16,6 +16,10 @@ android:theme="@style/Theme.Team201" android:usesCleartextTraffic="true" tools:targetApi="31"> + + diff --git a/android/app/src/main/java/com/created/team201/presentation/report/ReportActivity.kt b/android/app/src/main/java/com/created/team201/presentation/report/ReportActivity.kt new file mode 100644 index 000000000..e4b697309 --- /dev/null +++ b/android/app/src/main/java/com/created/team201/presentation/report/ReportActivity.kt @@ -0,0 +1,38 @@ +package com.created.team201.presentation.report + +import android.os.Bundle +import android.view.MenuItem +import com.created.team201.R +import com.created.team201.databinding.ActivityReportBinding +import com.created.team201.presentation.common.BindingActivity + +class ReportActivity : BindingActivity(R.layout.activity_report) { + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + + initToolBar() + } + + private fun initToolBar() { + setSupportActionBar(binding.tbReport) + supportActionBar?.apply { + setDisplayHomeAsUpEnabled(true) + setHomeAsUpIndicator(R.drawable.ic_back) + setHomeActionContentDescription(R.string.toolbar_back_text) + } + } + + override fun onOptionsItemSelected(item: MenuItem): Boolean { + return when (item.itemId) { + android.R.id.home -> { + finish() + true + } + + else -> { + false + } + } + } +} diff --git a/android/app/src/main/res/layout/activity_report.xml b/android/app/src/main/res/layout/activity_report.xml new file mode 100644 index 000000000..b21bb2463 --- /dev/null +++ b/android/app/src/main/res/layout/activity_report.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 9b5053f97..fec49a647 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -167,4 +167,12 @@ 계정 관리 서비스 탈퇴하기 + + 신고하기 + 제목을 입력해 주세요 + 제출하기 + 신고 내용을 입력해 주세요 + 달력 날짜 선택 + +