Skip to content

Commit

Permalink
dialog 정중앙에 오도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
haeti-dev committed May 29, 2024
1 parent f2cb9bd commit 9fbd418
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/src/main/res/layout/dialog_badge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="11dp"
android:paddingBottom="12dp">

<View
Expand All @@ -36,7 +35,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="12dp"
android:layout_marginEnd="11dp"
android:background="@drawable/shape_dialog"
android:paddingBottom="10dp"
app:layout_constraintTop_toTopOf="parent">
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@
<string name="manual_url">https://smeem.notion.site/334e225bb69b45c28f31fe363ca9f25e?pvs=4</string>
<string name="title_activity_smeem_calendar">SmeemCalendar</string>

<!-- Badge Dialog -->
<string name="welcome_badge">웰컴 배지</string>
<string name="navigate_first_diary">첫 일기 쓰러가기</string>
<string name="view_all_badge">배지 모두보기</string>

<!-- My Page -->
<string name="my_smeem">나의 스밈</string>
<string name="my_plan">나의 플랜</string>
Expand Down Expand Up @@ -125,4 +130,5 @@
<string name="no_plan_navigate_description">플랜 설정하러 가기</string>
<string name="set_my_plan">플랜 설정하기</string>
<string name="notice_back_process">뒤로가기 버튼을 한번 더 누르면 종료됩니다.</string>

</resources>
5 changes: 3 additions & 2 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@

<style name="SmeemAlertDialog" parent="">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowMinWidthMajor">80%</item>
<item name="android:windowMinWidthMinor">80%</item>
<item name="android:windowMinWidthMajor">90%</item>
<item name="android:windowMinWidthMinor">90%</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:gravity">center</item>
<item name="android:colorBackground">?attr/colorBackgroundFloating</item>
<item name="android:windowCloseOnTouchOutside">true</item>
<item name="android:windowIsFloating">true</item>
Expand Down

0 comments on commit 9fbd418

Please sign in to comment.