From 06e661164df0ecb78b4ef266eceb0958021e5c4a Mon Sep 17 00:00:00 2001 From: parthmittal Date: Sat, 16 Nov 2024 03:51:26 +0530 Subject: [PATCH 01/45] -ui changes for rounded button --- app/res/drawable/button_green_background.xml | 1 + app/res/drawable/rounded_button.xml | 17 +++++ .../layout-land/activity_crash_warning.xml | 7 +- app/res/layout/activity_crash_warning.xml | 7 +- app/res/layout/activity_drawing_boundary.xml | 20 +++--- .../activity_mapbox_location_picker.xml | 8 +-- app/res/layout/activity_report_problem.xml | 4 +- .../layout/activity_target_mismatch_error.xml | 6 +- app/res/layout/app_manager.xml | 3 +- .../blank_missing_multimedia_layout.xml | 6 +- app/res/layout/blue_outlined_button.xml | 9 +-- app/res/layout/choice_dialog_three_panel.xml | 9 ++- app/res/layout/choice_dialog_view.xml | 10 +-- .../layout/component_entity_detail_item.xml | 9 ++- app/res/layout/connection_diagnostic.xml | 13 ++-- app/res/layout/custom_alert_dialog.xml | 66 +++++++++---------- app/res/layout/dots_detail.xml | 10 +-- app/res/layout/dotsdoses.xml | 5 +- app/res/layout/draw_layout.xml | 9 ++- app/res/layout/entity_detail.xml | 12 +++- app/res/layout/execute_recovery_measures.xml | 9 ++- app/res/layout/fragment_setup_enter_url.xml | 3 +- app/res/layout/geo_progress.xml | 6 +- app/res/layout/geopoint_layout.xml | 9 ++- app/res/layout/hierarchy_layout.xml | 18 ++--- app/res/layout/http_request_layout.xml | 9 ++- .../layout/install_permission_requester.xml | 7 +- app/res/layout/layout_note_msg.xml | 3 +- app/res/layout/missing_multimedia_layout.xml | 6 +- app/res/layout/multiple_apps_limit_view.xml | 3 +- app/res/layout/pin_screen_buttons.xml | 6 +- app/res/layout/privilege_claiming_view.xml | 3 +- .../layout/progress_dialog_cancel_button.xml | 6 +- app/res/layout/prompt_view.xml | 23 +++++-- app/res/layout/recording.xml | 6 +- app/res/layout/recording_fragment.xml | 6 +- app/res/layout/screen_form_dump.xml | 11 ++-- app/res/layout/screen_form_entry.xml | 10 ++- app/res/layout/screen_login.xml | 7 +- app/res/layout/screen_multimedia_inflater.xml | 8 +-- app/res/layout/screen_permission_request.xml | 6 +- app/res/layout/screen_recovery.xml | 6 +- app/res/layout/scrolling_calendar_widget.xml | 5 +- app/res/layout/single_app_view.xml | 12 ++-- app/res/layout/single_dialog_choice_view.xml | 6 +- app/res/layout/user_get_available_apps.xml | 5 +- app/res/values/colors.xml | 5 ++ app/res/values/styles.xml | 28 ++++++++ .../commcare/views/widgets/IntentWidget.java | 8 ++- 49 files changed, 296 insertions(+), 175 deletions(-) create mode 100644 app/res/drawable/rounded_button.xml diff --git a/app/res/drawable/button_green_background.xml b/app/res/drawable/button_green_background.xml index 7c1d045bc2..bdf260cce5 100644 --- a/app/res/drawable/button_green_background.xml +++ b/app/res/drawable/button_green_background.xml @@ -5,4 +5,5 @@ + \ No newline at end of file diff --git a/app/res/drawable/rounded_button.xml b/app/res/drawable/rounded_button.xml new file mode 100644 index 0000000000..b8647d59d6 --- /dev/null +++ b/app/res/drawable/rounded_button.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/app/res/layout-land/activity_crash_warning.xml b/app/res/layout-land/activity_crash_warning.xml index 92bde2be99..a609c98889 100644 --- a/app/res/layout-land/activity_crash_warning.xml +++ b/app/res/layout-land/activity_crash_warning.xml @@ -93,12 +93,11 @@ - + android:layout_marginEnd="@dimen/standard_spacer"/> - + android:layout_marginEnd="@dimen/standard_spacer"/> - + - + android:layout_toStartOf="@id/neutral_button"/> \ No newline at end of file diff --git a/app/res/layout/dots_detail.xml b/app/res/layout/dots_detail.xml index f29952483e..5e4ba46ad4 100644 --- a/app/res/layout/dots_detail.xml +++ b/app/res/layout/dots_detail.xml @@ -40,18 +40,20 @@ android:id="@+id/dotsbuttonframe" android:weightSum="1"> - + android:layout_weight="0.5"/> - + android:layout_weight="0.5"/> diff --git a/app/res/layout/dotsdoses.xml b/app/res/layout/dotsdoses.xml index c11b044085..d71a563174 100644 --- a/app/res/layout/dotsdoses.xml +++ b/app/res/layout/dotsdoses.xml @@ -61,10 +61,11 @@ android:id="@+id/dots_dose_four"> - + android:layout_alignParentBottom="true"/> diff --git a/app/res/layout/draw_layout.xml b/app/res/layout/draw_layout.xml index 203a239874..a4ff50b4da 100644 --- a/app/res/layout/draw_layout.xml +++ b/app/res/layout/draw_layout.xml @@ -19,7 +19,8 @@ android:layout_height="wrap_content" android:layout_alignParentBottom="true"> -