feat: 휴가 관리 NumberPicker → Spinner 변경 + 저장 버튼 복원

- NumberPicker 대신 Spinner(드롭다운) 사용
- 값 변경 시 자동 저장 제거하고 저장 버튼 복원
- 더 직관적인 UI 제공

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-03-13 00:02:38 +09:00
parent 975c2cc9f6
commit 911ff3003f
2 changed files with 52 additions and 35 deletions

View File

@@ -47,7 +47,10 @@
android:orientation="horizontal"
android:gravity="center_vertical">
<NumberPicker
<Spinner
android:id="@+id/spinnerTotalDays"
android:layout_width="80dp"
android:layout_height="48dp"/>
android:id="@+id/npTotalDays"
android:layout_width="60dp"
android:layout_height="100dp"/>
@@ -123,4 +126,25 @@
android:layout_marginBottom="8dp"
android:gravity="center"/>
<!-- Calculation Info -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="※ 연차: -1일 / 반년: -0.5일 차감"
android:textSize="12sp"
android:textColor="@color/text_tertiary"
android:layout_marginBottom="24dp"
android:gravity="center"/>
<!-- Save Button -->
<com.google.android.material.button.MaterialButton
android:id="@+id/btnSaveAnnualLeave"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="저장"
android:textSize="16sp"
android:textStyle="bold"
app:cornerRadius="12dp"
android:backgroundTint="@color/primary"/>
</LinearLayout>