优化时间弹窗

This commit is contained in:
2026-05-26 11:07:14 +08:00
parent d5be6a9b5f
commit 5b7d20d38c
14 changed files with 661 additions and 43 deletions

View File

@@ -159,6 +159,7 @@
android:paddingRight="16dp">
<LinearLayout
android:id="@+id/expandImg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
@@ -172,7 +173,6 @@
android:textStyle="bold" />
<ImageView
android:id="@+id/expandImg"
android:layout_width="20dp"
android:layout_height="match_parent"
android:src="@drawable/expand" />

View File

@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_bottom_sheet_rounded"
android:orientation="vertical">
<LinearLayout
android:id="@+id/itemTakePhoto"
android:layout_width="match_parent"
android:layout_height="56dp"
android:gravity="center"
android:paddingHorizontal="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/take_photo"
android:textColor="@color/black"
android:textSize="16sp" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/dialog_view" />
<LinearLayout
android:id="@+id/itemSelectAlbum"
android:layout_width="match_parent"
android:layout_height="56dp"
android:gravity="center"
android:paddingHorizontal="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/select_from_album"
android:textColor="@color/black"
android:textSize="16sp" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="@color/face" />
<LinearLayout
android:id="@+id/itemCancel"
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="@color/white"
android:gravity="center"
android:paddingHorizontal="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cancel"
android:textColor="@color/gray"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>

View File

@@ -457,4 +457,8 @@
<string name="phone_number_empty">手机号为空</string>
<string name="operation_fail">操作失败</string>
<string name="get_user_info_fail">获取用户信息失败</string>
<string name="take_photo">拍照</string>
<string name="select_from_album">从相册选择</string>
<string name="select_date">选择日期</string>
<string name="select_time">选择时间</string>
</resources>

View File

@@ -2,7 +2,7 @@
<resources>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="green">#09C2BD </color>
<color name="green">#09C2BD</color>
<color name="gray">#999999</color>
<color name="login_background">#EDF4FF</color>
<color name="red">#E34D59</color>

View File

@@ -349,6 +349,14 @@
<string name="cannot_open_camera">Cannot open camera</string>
<string name="camera_permission_needed">Camera permission is required</string>
<string name="permission_denied">Camera and storage permissions are required</string>
<string name="camera_permission_denied">Camera permission is required</string>
<string name="storage_permission_denied">Storage permission is required</string>
<string name="write_storage_permission_denied">Write storage permission is required</string>
<string name="take_photo_failed">Failed to take photo</string>
<string name="get_file_failed">Failed to get file</string>
<string name="create_file_failed">Failed to create file</string>
<string name="uploading">Uploading...</string>
<string name="upload_failed">Upload failed</string>
<string name="image_selected">Image selected</string>
<string name="please_try_later">Please try again later</string>
<string name="phone_format_invalid">Invalid phone number format</string>
@@ -461,4 +469,8 @@
<string name="phone_number_empty">Phone number not found</string>
<string name="operation_fail">Operation failed</string>
<string name="get_user_info_fail">Failed to get user info</string>
<string name="take_photo">Take Photo</string>
<string name="select_from_album">Select from Album</string>
<string name="select_date">Select Date</string>
<string name="select_time">Select Time</string>
</resources>