From 4f4dc821d4daaf332c16d970256999c9532fcb3c Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 16 Jul 2021 08:40:39 +0800 Subject: Implement SelectOrCaptureImageBottomSheetFragment. --- .../ic_outline_add_a_photo_day_night_24dp.xml | 9 ++++ .../ic_outline_select_photo_day_night_24dp.xml | 9 ++++ .../ic_outline_add_a_photo_day_night_24dp.xml | 9 ++++ .../ic_outline_select_photo_day_night_24dp.xml | 9 ++++ ...agment_select_or_capture_image_bottom_sheet.xml | 53 ++++++++++++++++++++++ .../fragment_uploaded_images_bottom_sheet.xml | 2 +- app/src/main/res/values/strings.xml | 2 +- 7 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_outline_add_a_photo_day_night_24dp.xml create mode 100644 app/src/main/res/drawable-night/ic_outline_select_photo_day_night_24dp.xml create mode 100644 app/src/main/res/drawable/ic_outline_add_a_photo_day_night_24dp.xml create mode 100644 app/src/main/res/drawable/ic_outline_select_photo_day_night_24dp.xml create mode 100644 app/src/main/res/layout/fragment_select_or_capture_image_bottom_sheet.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-night/ic_outline_add_a_photo_day_night_24dp.xml b/app/src/main/res/drawable-night/ic_outline_add_a_photo_day_night_24dp.xml new file mode 100644 index 00000000..57869fc5 --- /dev/null +++ b/app/src/main/res/drawable-night/ic_outline_add_a_photo_day_night_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable-night/ic_outline_select_photo_day_night_24dp.xml b/app/src/main/res/drawable-night/ic_outline_select_photo_day_night_24dp.xml new file mode 100644 index 00000000..136ace9f --- /dev/null +++ b/app/src/main/res/drawable-night/ic_outline_select_photo_day_night_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_add_a_photo_day_night_24dp.xml b/app/src/main/res/drawable/ic_outline_add_a_photo_day_night_24dp.xml new file mode 100644 index 00000000..98c1ac80 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_add_a_photo_day_night_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_outline_select_photo_day_night_24dp.xml b/app/src/main/res/drawable/ic_outline_select_photo_day_night_24dp.xml new file mode 100644 index 00000000..9551f621 --- /dev/null +++ b/app/src/main/res/drawable/ic_outline_select_photo_day_night_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/fragment_select_or_capture_image_bottom_sheet.xml b/app/src/main/res/layout/fragment_select_or_capture_image_bottom_sheet.xml new file mode 100644 index 00000000..55f60691 --- /dev/null +++ b/app/src/main/res/layout/fragment_select_or_capture_image_bottom_sheet.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_uploaded_images_bottom_sheet.xml b/app/src/main/res/layout/fragment_uploaded_images_bottom_sheet.xml index 79b6fa82..f3e96ef5 100644 --- a/app/src/main/res/layout/fragment_uploaded_images_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_uploaded_images_bottom_sheet.xml @@ -40,7 +40,7 @@ android:layout_margin="16dp" android:backgroundTint="@color/colorPrimary" android:textColor="#FFFFFF" - android:text="@string/upload" /> + android:text="@string/select_image" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 58fe7e6b..3742cc52 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1125,7 +1125,7 @@ Reply Uploaded Images - Upload + Select an Image Capture Uploading Upload image successfully. Click the image button again to see the uploaded images. -- cgit v1.2.3