diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 422a63e22b..8f183cbc9b 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,11 +10,12 @@ ## Product Description -## Safety Assurance +## PR Checklist -- [ ] If the PR is high risk, "High Risk" label is set +- [ ] If I think the PR is high risk, "High Risk" label is set - [ ] I have confidence that this PR will not introduce a regression for the reasons below - [ ] Do we need to enhance manual QA test coverage ? If yes, "QA Note" label is set correctly +- [ ] Does the PR introduce any major changes worth communicating ? If yes, "Release Note" label is set and a "Release Note" is specified in PR description. ### Automated test coverage diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 56973f2aa9..29703ce577 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -21,6 +21,14 @@ jobs: with: fetch-depth: 0 + - name: Get changed files + id: files + uses: octokit/request-action@v2.4.0 + with: + route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Lint Code Base uses: super-linter/super-linter@v5 env: @@ -29,3 +37,5 @@ jobs: IGNORE_GITIGNORED_FILES: true VALIDATE_JSCPD: false JAVA_FILE_NAME: checkstyle.xml + with: + changed_files: ${{ steps.files.outputs.files }} diff --git a/README.md b/README.md index 02e2bafd99..7015b20623 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ CommCare is an easily customizable, open source mobile platform that supports fr This repository represents the Android version of CommCare. It depends on the [CommCare Core](https://github.com/dimagi/commcare-core) repository, which contains the XForm engine and case/lookup table implementations. +## End-to-End Development + +CommCare Android is a mobile CommCare Platform client runtime, and requires a backend environment for full end-to-end usage and to test platform development. + +If you don't have an access to another backend, or if you will be doing full platform development, after completing this setup you can follow [the end-to-end development guide](https://github.com/dimagi/commcare-hq/blob/master/local_dev_guide.rst) which explains how to establish a local environment for CommCare's full client/server software. + ## Setup To set up an Android dev environment for commcare-android, do the following: @@ -34,7 +40,6 @@ git clone https://github.com/dimagi/commcare-core.git - Click "OK" to use the Gradle wrapper - Wait while Android Studio spins its wheels - Download any build dependencies that the SDK Manager tells you you need. -- Disable _Instant Run_ found in Settings > Build, Execution, Deployment > Instant Run. (It does not play well with multidexing, which we have enabled, or with some of the processes we have set up for Google Services) ## Building diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index 027dcf5a22..12ce003758 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -1,9 +1,8 @@ - + android:versionName="2.56"> @@ -17,18 +16,28 @@ android:name="android.permission.INTERNET"/> + android:name="android.permission.WRITE_EXTERNAL_STORAGE" + android:maxSdkVersion="32"/> - + + + + + - + + + + com.google.firebase.crashlytics, com.google.firebase.iid, com.appmattus.certificatetransparency"/> + + + + + + android:theme="@style/AppBaseTheme" + android:enableOnBackInvokedCallback="false"> - + @@ -186,6 +201,10 @@ android:name="org.commcare.activities.SessionAwarePreferenceActivity" android:theme="@style/PreferenceTheme"> + + @@ -285,12 +304,14 @@ android:name="org.commcare.activities.FormRecordListActivity" android:windowSoftInputMode="adjustResize"> - + - - + + android:exported="false"> @@ -343,8 +362,7 @@ - + - + + + + + + + + diff --git a/app/res/color/button_orange_background.xml b/app/res/color/button_orange_background.xml new file mode 100644 index 0000000000..1493a7709c --- /dev/null +++ b/app/res/color/button_orange_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/res/color/button_red_background.xml b/app/res/color/button_red_background.xml new file mode 100644 index 0000000000..0fca04b82b --- /dev/null +++ b/app/res/color/button_red_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/res/color/primary_button_background.xml b/app/res/color/primary_button_background.xml index 90bafb37c1..22f6c49dad 100644 --- a/app/res/color/primary_button_background.xml +++ b/app/res/color/primary_button_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/res/drawable-hdpi-v14/notification.png b/app/res/drawable-hdpi-v14/notification.png deleted file mode 100644 index a307880630..0000000000 Binary files a/app/res/drawable-hdpi-v14/notification.png and /dev/null differ diff --git a/app/res/drawable-hdpi/ic_media_exit_fullscreen.png b/app/res/drawable-hdpi/ic_media_exit_fullscreen.png new file mode 100644 index 0000000000..5300f949d7 Binary files /dev/null and b/app/res/drawable-hdpi/ic_media_exit_fullscreen.png differ diff --git a/app/res/drawable-hdpi/ic_media_fullscreen.png b/app/res/drawable-hdpi/ic_media_fullscreen.png new file mode 100644 index 0000000000..80d4d99478 Binary files /dev/null and b/app/res/drawable-hdpi/ic_media_fullscreen.png differ diff --git a/app/res/drawable-hdpi/icon_app_white.png b/app/res/drawable-hdpi/icon_app_white.png deleted file mode 100644 index 4e2c034930..0000000000 Binary files a/app/res/drawable-hdpi/icon_app_white.png and /dev/null differ diff --git a/app/res/drawable-hdpi/notification.png b/app/res/drawable-hdpi/notification.png deleted file mode 100644 index b62adeb031..0000000000 Binary files a/app/res/drawable-hdpi/notification.png and /dev/null differ diff --git a/app/res/drawable-hdpi/pause_question_audio.png b/app/res/drawable-hdpi/pause_question_audio.png index 8d1a5e26f6..0093ff1f67 100644 Binary files a/app/res/drawable-hdpi/pause_question_audio.png and b/app/res/drawable-hdpi/pause_question_audio.png differ diff --git a/app/res/drawable-hdpi/play_question_audio.png b/app/res/drawable-hdpi/play_question_audio.png index ef923b91d1..da3d7eeec0 100644 Binary files a/app/res/drawable-hdpi/play_question_audio.png and b/app/res/drawable-hdpi/play_question_audio.png differ diff --git a/app/res/drawable-large/commcare_logo.png b/app/res/drawable-large/commcare_logo.png deleted file mode 100644 index c7970c0bec..0000000000 Binary files a/app/res/drawable-large/commcare_logo.png and /dev/null differ diff --git a/app/res/drawable-ldpi-v14/notification.png b/app/res/drawable-ldpi-v14/notification.png deleted file mode 100644 index 51ba81206b..0000000000 Binary files a/app/res/drawable-ldpi-v14/notification.png and /dev/null differ diff --git a/app/res/drawable-ldpi/ic_media_exit_fullscreen.png b/app/res/drawable-ldpi/ic_media_exit_fullscreen.png new file mode 100644 index 0000000000..7197f3b5d3 Binary files /dev/null and b/app/res/drawable-ldpi/ic_media_exit_fullscreen.png differ diff --git a/app/res/drawable-ldpi/ic_media_fullscreen.png b/app/res/drawable-ldpi/ic_media_fullscreen.png new file mode 100644 index 0000000000..6023203e78 Binary files /dev/null and b/app/res/drawable-ldpi/ic_media_fullscreen.png differ diff --git a/app/res/drawable-ldpi/icon_app_white.png b/app/res/drawable-ldpi/icon_app_white.png deleted file mode 100644 index 0495c7abdb..0000000000 Binary files a/app/res/drawable-ldpi/icon_app_white.png and /dev/null differ diff --git a/app/res/drawable-ldpi/notification.png b/app/res/drawable-ldpi/notification.png deleted file mode 100644 index 3a53999386..0000000000 Binary files a/app/res/drawable-ldpi/notification.png and /dev/null differ diff --git a/app/res/drawable-mdpi-v14/notification.png b/app/res/drawable-mdpi-v14/notification.png deleted file mode 100644 index 283e66dce0..0000000000 Binary files a/app/res/drawable-mdpi-v14/notification.png and /dev/null differ diff --git a/app/res/drawable-mdpi/ic_media_exit_fullscreen.png b/app/res/drawable-mdpi/ic_media_exit_fullscreen.png new file mode 100644 index 0000000000..6cc908f45b Binary files /dev/null and b/app/res/drawable-mdpi/ic_media_exit_fullscreen.png differ diff --git a/app/res/drawable-mdpi/ic_media_fullscreen.png b/app/res/drawable-mdpi/ic_media_fullscreen.png new file mode 100644 index 0000000000..a07ff0bda3 Binary files /dev/null and b/app/res/drawable-mdpi/ic_media_fullscreen.png differ diff --git a/app/res/drawable-mdpi/icon_app_white.png b/app/res/drawable-mdpi/icon_app_white.png deleted file mode 100644 index 90f745543b..0000000000 Binary files a/app/res/drawable-mdpi/icon_app_white.png and /dev/null differ diff --git a/app/res/drawable-mdpi/notification.png b/app/res/drawable-mdpi/notification.png deleted file mode 100644 index 88bba12b48..0000000000 Binary files a/app/res/drawable-mdpi/notification.png and /dev/null differ diff --git a/app/res/drawable-mdpi/pause_question_audio.png b/app/res/drawable-mdpi/pause_question_audio.png index 61edf086c1..1bd7dcb056 100644 Binary files a/app/res/drawable-mdpi/pause_question_audio.png and b/app/res/drawable-mdpi/pause_question_audio.png differ diff --git a/app/res/drawable-mdpi/play_question_audio.png b/app/res/drawable-mdpi/play_question_audio.png index a52be7a023..912853bbdb 100644 Binary files a/app/res/drawable-mdpi/play_question_audio.png and b/app/res/drawable-mdpi/play_question_audio.png differ diff --git a/app/res/drawable-xhdpi/ic_media_exit_fullscreen.png b/app/res/drawable-xhdpi/ic_media_exit_fullscreen.png new file mode 100644 index 0000000000..d561d875bf Binary files /dev/null and b/app/res/drawable-xhdpi/ic_media_exit_fullscreen.png differ diff --git a/app/res/drawable-xhdpi/ic_media_fullscreen.png b/app/res/drawable-xhdpi/ic_media_fullscreen.png new file mode 100644 index 0000000000..62d9a465c6 Binary files /dev/null and b/app/res/drawable-xhdpi/ic_media_fullscreen.png differ diff --git a/app/res/drawable-xhdpi/icon_app_white.png b/app/res/drawable-xhdpi/icon_app_white.png deleted file mode 100644 index 12f02e63f3..0000000000 Binary files a/app/res/drawable-xhdpi/icon_app_white.png and /dev/null differ diff --git a/app/res/drawable-xhdpi/pause_question_audio.png b/app/res/drawable-xhdpi/pause_question_audio.png index 627f96e7e0..1f77f3a5dd 100644 Binary files a/app/res/drawable-xhdpi/pause_question_audio.png and b/app/res/drawable-xhdpi/pause_question_audio.png differ diff --git a/app/res/drawable-xhdpi/play_question_audio.png b/app/res/drawable-xhdpi/play_question_audio.png index fb26073fe6..d231d4a4d0 100644 Binary files a/app/res/drawable-xhdpi/play_question_audio.png and b/app/res/drawable-xhdpi/play_question_audio.png differ diff --git a/app/res/drawable-xxhdpi/ic_media_exit_fullscreen.png b/app/res/drawable-xxhdpi/ic_media_exit_fullscreen.png new file mode 100644 index 0000000000..99dd79cd36 Binary files /dev/null and b/app/res/drawable-xxhdpi/ic_media_exit_fullscreen.png differ diff --git a/app/res/drawable-xxhdpi/ic_media_fullscreen.png b/app/res/drawable-xxhdpi/ic_media_fullscreen.png new file mode 100644 index 0000000000..a1f19b0489 Binary files /dev/null and b/app/res/drawable-xxhdpi/ic_media_fullscreen.png differ diff --git a/app/res/drawable-xxxhdpi/pause_question_audio.png b/app/res/drawable-xxxhdpi/pause_question_audio.png index 295a704ff6..74d106537f 100644 Binary files a/app/res/drawable-xxxhdpi/pause_question_audio.png and b/app/res/drawable-xxxhdpi/pause_question_audio.png differ diff --git a/app/res/drawable-xxxhdpi/play_question_audio.png b/app/res/drawable-xxxhdpi/play_question_audio.png index 4655703b3f..628e87ea15 100644 Binary files a/app/res/drawable-xxxhdpi/play_question_audio.png and b/app/res/drawable-xxxhdpi/play_question_audio.png differ diff --git a/app/res/drawable/actionbar_modern_spacing.xml b/app/res/drawable/actionbar_modern_spacing.xml deleted file mode 100644 index acf2c3d719..0000000000 --- a/app/res/drawable/actionbar_modern_spacing.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/res/drawable/btn_finish_background.xml b/app/res/drawable/btn_finish_background.xml index 060b6bed00..ead1dc4273 100644 --- a/app/res/drawable/btn_finish_background.xml +++ b/app/res/drawable/btn_finish_background.xml @@ -4,5 +4,5 @@ android:state_pressed="true" android:drawable="@color/cc_attention_positive_text"/> + android:drawable="@color/start_home_button"/> \ No newline at end of file diff --git a/app/res/drawable/button_background_white.xml b/app/res/drawable/button_background_white.xml new file mode 100644 index 0000000000..dedb7d4e34 --- /dev/null +++ b/app/res/drawable/button_background_white.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/app/res/drawable/button_green_background.xml b/app/res/drawable/button_green_background.xml deleted file mode 100644 index 7c1d045bc2..0000000000 --- a/app/res/drawable/button_green_background.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/res/drawable/button_orange_background.xml b/app/res/drawable/button_orange_background.xml deleted file mode 100644 index dd8e722370..0000000000 --- a/app/res/drawable/button_orange_background.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/res/drawable/button_red_background.xml b/app/res/drawable/button_red_background.xml deleted file mode 100644 index 2c16258f98..0000000000 --- a/app/res/drawable/button_red_background.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/res/drawable/ccbanner.png b/app/res/drawable/ccbanner.png deleted file mode 100644 index 423a53be10..0000000000 Binary files a/app/res/drawable/ccbanner.png and /dev/null differ diff --git a/app/res/drawable/check_update.xml b/app/res/drawable/check_update.xml index 4e69e9ed32..c963c7cb1b 100644 --- a/app/res/drawable/check_update.xml +++ b/app/res/drawable/check_update.xml @@ -5,5 +5,5 @@ android:viewportHeight="232.5"> + android:fillColor="@color/square_button_icon_color"/> diff --git a/app/res/drawable/commcare_actionbar_logo.xml b/app/res/drawable/commcare_actionbar_logo.xml new file mode 100644 index 0000000000..0157ae2e24 --- /dev/null +++ b/app/res/drawable/commcare_actionbar_logo.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/res/drawable/commcare_actionbar_logo_spacing.xml b/app/res/drawable/commcare_actionbar_logo_spacing.xml new file mode 100644 index 0000000000..31f5d733b5 --- /dev/null +++ b/app/res/drawable/commcare_actionbar_logo_spacing.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/app/res/drawable/commcare_by_dimagi.xml b/app/res/drawable/commcare_by_dimagi.xml new file mode 100644 index 0000000000..2e5e014834 --- /dev/null +++ b/app/res/drawable/commcare_by_dimagi.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + diff --git a/app/res/drawable/commcare_logo.png b/app/res/drawable/commcare_logo.png deleted file mode 100644 index b3ec53544f..0000000000 Binary files a/app/res/drawable/commcare_logo.png and /dev/null differ diff --git a/app/res/drawable/home_incomplete.xml b/app/res/drawable/home_incomplete.xml index b7481fda92..394c4221bf 100644 --- a/app/res/drawable/home_incomplete.xml +++ b/app/res/drawable/home_incomplete.xml @@ -1,12 +1,10 @@ - - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/home_logout.xml b/app/res/drawable/home_logout.xml index 39e7ef5bf8..e448c752cb 100644 --- a/app/res/drawable/home_logout.xml +++ b/app/res/drawable/home_logout.xml @@ -1,15 +1,9 @@ - - - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/home_saved.xml b/app/res/drawable/home_saved.xml index 80def3660e..d20a0f5b00 100644 --- a/app/res/drawable/home_saved.xml +++ b/app/res/drawable/home_saved.xml @@ -1,12 +1,9 @@ - - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/home_start.xml b/app/res/drawable/home_start.xml index 1241219c2b..044cc99479 100644 --- a/app/res/drawable/home_start.xml +++ b/app/res/drawable/home_start.xml @@ -1,9 +1,13 @@ - - - - - - + + + + + diff --git a/app/res/drawable/home_sync.xml b/app/res/drawable/home_sync.xml index 07d6596a72..072a233b71 100644 --- a/app/res/drawable/home_sync.xml +++ b/app/res/drawable/home_sync.xml @@ -1,9 +1,13 @@ + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + + + android:pathData="M88.95,47.62C84.51,45.84 79.47,47.97 77.66,52.42C74,61.46 72,71.35 72,81.67C72,91.99 74,101.87 77.66,110.92C79.45,115.36 84.51,117.5 88.95,115.71C93.4,113.92 95.54,108.86 93.75,104.42C90.9,97.4 89.33,89.74 89.33,81.67C89.33,73.6 90.9,65.93 93.75,58.92C95.54,54.47 93.4,49.44 88.95,47.62ZM211.05,47.62C206.6,49.44 204.46,54.47 206.25,58.92C209.1,65.93 210.67,73.6 210.67,81.67C210.67,89.74 209.1,97.4 206.25,104.42C204.46,108.86 206.6,113.9 211.05,115.71C215.49,117.53 220.52,115.36 222.34,110.92C226,101.87 228,91.99 228,81.67C228,71.35 226,61.46 222.34,52.42C220.52,47.97 215.49,45.84 211.05,47.62ZM164.11,91.74C166.14,88.9 167.33,85.43 167.33,81.67C167.33,72.11 159.56,64.33 150,64.33C140.44,64.33 132.67,72.11 132.67,81.67C132.67,85.43 133.86,88.9 135.89,91.74L98.79,173.43C96.81,177.79 98.73,182.93 103.09,184.91C107.45,186.88 112.6,184.96 114.57,180.6L120.13,168.33H179.87L185.45,180.57C187.43,184.93 192.57,186.86 196.93,184.88C201.3,182.9 203.22,177.76 201.24,173.4L164.11,91.74ZM171.99,151H128.01L131.93,142.33H168.07L171.99,151ZM150,102.6L160.18,125H139.82L150,102.6ZM116.23,66.93C117.66,63.66 116.17,59.81 112.87,58.37C109.57,56.94 105.75,58.43 104.31,61.73C101.66,67.85 100.17,74.6 100.17,81.67C100.17,88.74 101.66,95.48 104.31,101.6C105.75,104.88 109.59,106.39 112.87,104.96C116.15,103.52 117.66,99.68 116.23,96.4C114.25,91.9 113.17,86.92 113.17,81.67C113.17,76.41 114.25,71.43 116.23,66.93ZM195.69,61.73C194.25,58.46 190.41,56.94 187.13,58.37C183.85,59.81 182.34,63.66 183.77,66.93C185.75,71.43 186.83,76.41 186.83,81.67C186.83,86.92 185.75,91.9 183.77,96.4C182.34,99.68 183.83,103.52 187.13,104.96C190.43,106.39 194.25,104.9 195.69,101.6C198.34,95.48 199.83,88.74 199.83,81.67C199.83,74.6 198.34,67.85 195.69,61.73V61.73Z" + android:fillColor="@color/square_button_icon_color"/> + diff --git a/app/res/drawable/ic_cc_update.xml b/app/res/drawable/ic_cc_update.xml new file mode 100644 index 0000000000..c2e6797bbc --- /dev/null +++ b/app/res/drawable/ic_cc_update.xml @@ -0,0 +1,5 @@ + + + + diff --git a/app/res/drawable/icon_app_white.png b/app/res/drawable/icon_app_white.png deleted file mode 100644 index b5da340312..0000000000 Binary files a/app/res/drawable/icon_app_white.png and /dev/null differ diff --git a/app/res/drawable/icon_chevron_left_white.xml b/app/res/drawable/icon_chevron_left_white.xml new file mode 100644 index 0000000000..da62f057f0 --- /dev/null +++ b/app/res/drawable/icon_chevron_left_white.xml @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/app/res/drawable/icon_chevron_right_white.xml b/app/res/drawable/icon_chevron_right_white.xml new file mode 100644 index 0000000000..e8d8ed9a60 --- /dev/null +++ b/app/res/drawable/icon_chevron_right_white.xml @@ -0,0 +1,4 @@ + + + diff --git a/app/res/drawable/icon_close_white.xml b/app/res/drawable/icon_close_white.xml new file mode 100644 index 0000000000..e74616b87d --- /dev/null +++ b/app/res/drawable/icon_close_white.xml @@ -0,0 +1,4 @@ + + + diff --git a/app/res/drawable/icon_color.png b/app/res/drawable/icon_color.png deleted file mode 100644 index 1e88bab4f5..0000000000 Binary files a/app/res/drawable/icon_color.png and /dev/null differ diff --git a/app/res/drawable/incomplete_nav_drawer.xml b/app/res/drawable/incomplete_nav_drawer.xml new file mode 100644 index 0000000000..9ce6fc5689 --- /dev/null +++ b/app/res/drawable/incomplete_nav_drawer.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/app/res/drawable/install_start.xml b/app/res/drawable/install_start.xml index 1b9ebaf11d..0e1a2a49f1 100644 --- a/app/res/drawable/install_start.xml +++ b/app/res/drawable/install_start.xml @@ -1,9 +1,9 @@ - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/install_stop.xml b/app/res/drawable/install_stop.xml index c5147ad783..af188dfb8d 100644 --- a/app/res/drawable/install_stop.xml +++ b/app/res/drawable/install_stop.xml @@ -1,9 +1,9 @@ - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/pause.png b/app/res/drawable/pause.png index 3a23ef0186..54b1940c49 100644 Binary files a/app/res/drawable/pause.png and b/app/res/drawable/pause.png differ diff --git a/app/res/drawable/play.png b/app/res/drawable/play.png index 57c1e426cb..0ff12899ff 100644 Binary files a/app/res/drawable/play.png and b/app/res/drawable/play.png differ diff --git a/app/res/drawable/progressbar_modern.xml b/app/res/drawable/progressbar_modern.xml index 781e4be638..b47bd1c7c7 100644 --- a/app/res/drawable/progressbar_modern.xml +++ b/app/res/drawable/progressbar_modern.xml @@ -2,20 +2,22 @@ + - + + - + \ No newline at end of file diff --git a/app/res/drawable/progressbar_modern_blue.xml b/app/res/drawable/progressbar_modern_blue.xml new file mode 100644 index 0000000000..4b226bbb79 --- /dev/null +++ b/app/res/drawable/progressbar_modern_blue.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/res/drawable/record.png b/app/res/drawable/record.png index 92561ada60..5e3940cb1e 100644 Binary files a/app/res/drawable/record.png and b/app/res/drawable/record.png differ diff --git a/app/res/drawable/record_add.png b/app/res/drawable/record_add.png index a13f2f624b..478b569692 100644 Binary files a/app/res/drawable/record_add.png and b/app/res/drawable/record_add.png differ diff --git a/app/res/drawable/record_in_progress.png b/app/res/drawable/record_in_progress.png index 45ab7e1056..f221d17b5a 100644 Binary files a/app/res/drawable/record_in_progress.png and b/app/res/drawable/record_in_progress.png differ diff --git a/app/res/drawable/record_start.png b/app/res/drawable/record_start.png index ea6fd034c9..040e424214 100644 Binary files a/app/res/drawable/record_start.png and b/app/res/drawable/record_start.png differ diff --git a/app/res/drawable/recording_trash.png b/app/res/drawable/recording_trash.png index 6f522522b8..eda65ed533 100644 Binary files a/app/res/drawable/recording_trash.png and b/app/res/drawable/recording_trash.png differ diff --git a/app/res/drawable/rounded_button_shape.xml b/app/res/drawable/rounded_button_shape.xml new file mode 100644 index 0000000000..5bfcbec484 --- /dev/null +++ b/app/res/drawable/rounded_button_shape.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/app/res/drawable/startup_barcode.xml b/app/res/drawable/startup_barcode.xml index 7b955103b1..ac3e33305c 100644 --- a/app/res/drawable/startup_barcode.xml +++ b/app/res/drawable/startup_barcode.xml @@ -1,78 +1,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - + android:width="300dp" + android:height="233dp" + android:viewportWidth="300" + android:viewportHeight="233"> + diff --git a/app/res/drawable/startup_url.xml b/app/res/drawable/startup_url.xml index fa08e75f9f..9a04552800 100644 --- a/app/res/drawable/startup_url.xml +++ b/app/res/drawable/startup_url.xml @@ -1,12 +1,9 @@ - - + android:width="300dp" + android:height="232dp" + android:viewportWidth="300.0" + android:viewportHeight="232.5"> + + diff --git a/app/res/drawable/wifi_direct_change_mode.xml b/app/res/drawable/wifi_direct_change_mode.xml index c7cb385497..a735171ce4 100644 --- a/app/res/drawable/wifi_direct_change_mode.xml +++ b/app/res/drawable/wifi_direct_change_mode.xml @@ -5,6 +5,6 @@ android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/res/drawable/wifi_direct_discover.xml b/app/res/drawable/wifi_direct_discover.xml index 3a365e98e4..2b6ba5b485 100644 --- a/app/res/drawable/wifi_direct_discover.xml +++ b/app/res/drawable/wifi_direct_discover.xml @@ -5,9 +5,9 @@ android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/res/drawable/wifi_direct_submit.xml b/app/res/drawable/wifi_direct_submit.xml index 5a6ad4bf0c..22d10c7cc6 100644 --- a/app/res/drawable/wifi_direct_submit.xml +++ b/app/res/drawable/wifi_direct_submit.xml @@ -5,9 +5,9 @@ android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/res/drawable/wifi_direct_transfer.xml b/app/res/drawable/wifi_direct_transfer.xml index 994c07960c..376611cdf8 100644 --- a/app/res/drawable/wifi_direct_transfer.xml +++ b/app/res/drawable/wifi_direct_transfer.xml @@ -5,6 +5,6 @@ android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/res/layout-land/activity_crash_warning.xml b/app/res/layout-land/activity_crash_warning.xml index 92bde2be99..60f0faecae 100644 --- a/app/res/layout-land/activity_crash_warning.xml +++ b/app/res/layout-land/activity_crash_warning.xml @@ -93,12 +93,10 @@ - + android:layout_marginEnd="@dimen/standard_spacer"/> - + android:layout_marginEnd="@dimen/standard_spacer" + android:layout_marginStart="@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..9d1bb02a12 100644 --- a/app/res/layout/dots_detail.xml +++ b/app/res/layout/dots_detail.xml @@ -40,18 +40,18 @@ 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..2a84d168db 100644 --- a/app/res/layout/dotsdoses.xml +++ b/app/res/layout/dotsdoses.xml @@ -61,10 +61,10 @@ 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..3a49edaf24 100644 --- a/app/res/layout/draw_layout.xml +++ b/app/res/layout/draw_layout.xml @@ -17,9 +17,10 @@ -