Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect QA #2813

Open
wants to merge 510 commits into
base: dv/connect_initial
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
510 commits
Select commit Hold shift + click to select a range
6fa2166
job summary tile UI
Jay13Panchal Oct 22, 2024
a577f8e
Job summary tile
Jay13Panchal Oct 22, 2024
890cece
Merge pull request #2867 from dimagi/fixCallOutSearchNavigation
shubham1g5 Oct 22, 2024
6aaf0ff
Revert "Remove exit flag from formSaveCallback"
avazirna Oct 22, 2024
3ade9b2
Refactor
avazirna Oct 22, 2024
7218aba
Make class field nullable
avazirna Oct 22, 2024
ea3e7b8
Added additional states to items in Connect jobs list.
OrangeAndGreen Oct 22, 2024
aa656e4
Merge pull request #2881 from dimagi/dv/CCCT-498-connect-home
OrangeAndGreen Oct 22, 2024
8ca57a1
Set Progress Logic
Jay13Panchal Oct 23, 2024
a776076
Merge branch 'feature/givewell' into adjust-user-messages-when-autosa…
avazirna Oct 23, 2024
dd93821
SYNC button issue
Jay13Panchal Oct 23, 2024
1c79590
Merge pull request #2883 from dimagi/jp/issue-delivery-progress-sync
OrangeAndGreen Oct 23, 2024
a27ab98
Nit
avazirna Oct 23, 2024
019cd2d
Correct userTriggered flag when updating attachments
avazirna Oct 23, 2024
dec7568
Refactor
avazirna Oct 23, 2024
aebd94e
Merge pull request #2858 from dimagi/adjust-user-messages-when-autosa…
avazirna Oct 23, 2024
f5ad515
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Oct 23, 2024
1605726
Added job summary tile to landscape app home page.
OrangeAndGreen Oct 23, 2024
e75c65d
Merge pull request #2882 from dimagi/jp/CCCT-490-job-summary-UI
OrangeAndGreen Oct 23, 2024
006fd9a
Cleaned up a few deviations from Figma designs.
OrangeAndGreen Oct 23, 2024
6bd56ed
Merge pull request #2805 from dimagi/feature/givewell
avazirna Oct 23, 2024
3512592
Null-checking job in a few spots before attempting to access it.
OrangeAndGreen Oct 23, 2024
9d7d2f8
Refactor
avazirna Oct 18, 2024
64fd325
Add option to extent session
avazirna Oct 18, 2024
22fb006
Extend the user session when starting a recording
avazirna Oct 24, 2024
cf016e6
Merge branch 'commcare_2.54' into extend-user-session-from-widget-cha…
avazirna Oct 24, 2024
f44c134
Nit
avazirna Oct 24, 2024
5ab7e06
Remove microphone status check for Android 9 and prior
avazirna Oct 24, 2024
992eed9
Make exception to bubble up when form parser fails
avazirna Oct 18, 2024
01a48f4
Merge pull request #2885 from dimagi/remove-recording-status-check
avazirna Oct 24, 2024
729b058
Merge pull request #2884 from dimagi/extend-user-session-from-widget-…
avazirna Oct 24, 2024
480c6ba
Merge pull request #2886 from dimagi/improve-logging-when-saving-form
avazirna Oct 25, 2024
3b4a58f
Return false to prevent adding the preference again
avazirna Oct 25, 2024
5c655e8
Merge pull request #2887 from dimagi/remove-preference-blanking-custo…
avazirna Oct 25, 2024
20b52dd
Merge branch 'master' into commcare_2.54
avazirna Oct 28, 2024
9203c8b
Merge pull request #2888 from dimagi/commcare_2.54
avazirna Oct 28, 2024
b93b72e
Bump AGP version to version 8.1.1
avazirna Oct 29, 2024
81b68cc
Added working hours to ConnectJobRecord.
OrangeAndGreen Nov 1, 2024
b0e63f2
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Nov 6, 2024
d62c591
Quick fix for text overlap in job details page.
OrangeAndGreen Nov 7, 2024
41a335f
Changed opp sorting in Connect home (by type, then last accessed)
OrangeAndGreen Nov 7, 2024
76848cb
Moved apps in review learning state below delivery apps in opportunit…
OrangeAndGreen Nov 7, 2024
242d08b
Another change to opp sorting
OrangeAndGreen Nov 7, 2024
a9ecc3f
Hiding working hours when either or both are not configured
OrangeAndGreen Nov 11, 2024
f9975f4
Defaulting to prod Connect server instead of staging
OrangeAndGreen Nov 11, 2024
aded8de
Updated Portuguese translations
OrangeAndGreen Nov 11, 2024
86e5bcd
- ui icon changes as per the new figma
pm-dimagi Nov 11, 2024
5c01084
-pr requested changes icon from png to vector
pm-dimagi Nov 12, 2024
1625693
-pr requested changes icon from png to vector
pm-dimagi Nov 12, 2024
1f21ac3
-pr requested changes icon from remaning old icon names
pm-dimagi Nov 12, 2024
6b19387
-pr requested changes icon from remaning old icon names
pm-dimagi Nov 12, 2024
329ca4d
Set common appbar in connectId screens
Jay13Panchal Nov 12, 2024
0127ecb
Add translation
Jay13Panchal Nov 12, 2024
e720469
Update pull_request_template.md
shubham1g5 Nov 13, 2024
4f5d4e4
Fix UI issue in new Sign-in revamp
Jay13Panchal Nov 14, 2024
d8894ff
Merge pull request #2895 from dimagi/shubham1g5-patch-1
shubham1g5 Nov 14, 2024
000fef6
Set foreground service type
avazirna Nov 14, 2024
e8879bc
Set exported attribute to receivers
avazirna Nov 14, 2024
5f83b76
Merge branch 'master' into android-14-update
avazirna Nov 14, 2024
52a13a0
Set OTP custom view
Jay13Panchal Nov 15, 2024
e850fbb
Merge remote-tracking branch 'origin/master'
pm-dimagi Nov 15, 2024
88760e3
Set exported attribute to dynamic broadcast receivers
avazirna Nov 15, 2024
569476d
Migrate from Google Play core
avazirna Nov 15, 2024
2594b77
Removed Indian Rupee symbol from UI
OrangeAndGreen Nov 15, 2024
019ba02
Fixed error populating phone number input when changing primary phone…
OrangeAndGreen Nov 15, 2024
0bf4edd
Merge branch 'connect_qa' into jp/CCCT-544-connectid-common-title-bar
OrangeAndGreen Nov 15, 2024
c525f6c
Merge pull request #2893 from dimagi/jp/CCCT-544-connectid-common-tit…
OrangeAndGreen Nov 15, 2024
8ba1016
Merge branch 'connect_qa' into dv/working_hours
OrangeAndGreen Nov 15, 2024
451705e
Merge pull request #2889 from dimagi/dv/working_hours
OrangeAndGreen Nov 15, 2024
fc92b2f
Fixed working hours display
OrangeAndGreen Nov 15, 2024
054ad1c
Setting page title in visit review list
OrangeAndGreen Nov 15, 2024
06e6611
-ui changes for rounded button
pm-dimagi Nov 15, 2024
2b46881
-ui changes for rounded button
pm-dimagi Nov 15, 2024
eeab8d2
-ui changes for rounded button
pm-dimagi Nov 15, 2024
13f55c5
Added Tigrinya translations
OrangeAndGreen Nov 18, 2024
0e29c97
Added missing externalizable to test.
OrangeAndGreen Nov 18, 2024
573ca4d
- pr request changes
pm-dimagi Nov 19, 2024
334be22
Merge branch 'connect_qa' into jp/QA-7207-signup-UI-UX
Jay13Panchal Nov 19, 2024
4618ee4
Merge pull request #2898 from dimagi/jp/QA-7207-signup-UI-UX
OrangeAndGreen Nov 19, 2024
f3b531b
- pr request changes
pm-dimagi Nov 19, 2024
37d6208
Showing various warning messages under opportunity summary card in ap…
OrangeAndGreen Nov 19, 2024
be2e6a5
Simpler warning message for daily and total limits in app home
OrangeAndGreen Nov 19, 2024
df8af57
Reduced daily progress in app home to a single progress bar (not one …
OrangeAndGreen Nov 19, 2024
6cc54e7
-title bar color changes
pm-dimagi Nov 19, 2024
8dc7f4b
Set resend OTP round button
Jay13Panchal Nov 20, 2024
de0ade3
Merge branch 'master' into pm_CCCT_533
OrangeAndGreen Nov 20, 2024
bbb7a96
Merge pull request #2892 from dimagi/pm_CCCT_533
pm-dimagi Nov 20, 2024
b7156c8
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
pm-dimagi Nov 20, 2024
10eadc6
-pr requested changes
pm-dimagi Nov 20, 2024
75f9e05
Create Custom OTP view
Jay13Panchal Nov 21, 2024
7ce1cc1
Merge branch 'connect_qa' into jp/QA-7214-verify-otp-screen-ui-bug
Jay13Panchal Nov 21, 2024
6e967c8
Merge pull request #2900 from dimagi/jp/QA-7214-verify-otp-screen-ui-bug
OrangeAndGreen Nov 21, 2024
57d2881
Added better message to OTP page when user is deactivating their acco…
OrangeAndGreen Nov 21, 2024
2b56cb1
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Nov 21, 2024
4dae24d
Showing warning messages below opportunity summary card in delivery p…
OrangeAndGreen Nov 21, 2024
41b3dcb
UI improvements on Recovery Code page.
OrangeAndGreen Nov 21, 2024
3ae3643
-pr requested changes
pm-dimagi Nov 22, 2024
ad7c456
-pr requested changes
pm-dimagi Nov 22, 2024
a3af6b6
-added launch icon and title bar icon in commcare
pm-dimagi Nov 22, 2024
8e070fd
-requested pr changes
pm-dimagi Nov 22, 2024
9f15541
-requested pr changes
pm-dimagi Nov 22, 2024
99bc8f8
-requested change for activity_drawing_boundary
pm-dimagi Nov 22, 2024
a71d216
Updated UI for progress bar and forward/back/close nav buttons in for…
OrangeAndGreen Nov 22, 2024
f08f91c
Set bottom sheet for job details
Jay13Panchal Nov 26, 2024
ccf96c2
-changes of button color
pm-dimagi Nov 27, 2024
124f9f1
Migrate to configuration avoindance APIs
avazirna Nov 27, 2024
65a8b2a
Remove package attribute from manifest files
avazirna Nov 27, 2024
1754bda
-changes of date widget
pm-dimagi Nov 28, 2024
42a347b
-changes of date widget
pm-dimagi Nov 28, 2024
476f0dd
Revert "Set foreground service type"
avazirna Nov 28, 2024
ecee832
Set CommCareSessionService foreground service type
avazirna Nov 28, 2024
ef25be8
Fix pendingIntent mutability flag
avazirna Nov 28, 2024
e662e56
Remove misleading comment
shubham1g5 Nov 29, 2024
641857f
update test libs and work manager
shubham1g5 Nov 29, 2024
e7cd5e8
Merge branch 'pm_rounded_button' into pm_CCCT_534
pm-dimagi Nov 29, 2024
29eb7f7
Merge pull request #2899 from dimagi/pm_CCCT_534
pm-dimagi Nov 29, 2024
affabbf
-changes for home button text size
pm-dimagi Nov 29, 2024
1d4a933
-changes for home button text size and old icons
pm-dimagi Dec 1, 2024
0e86fb6
Bump Support Library compile SDK to 35 and target SDK to 34
avazirna Dec 2, 2024
ea76c9b
Added some missing translations identified by QA.
OrangeAndGreen Dec 2, 2024
379d871
Hiding Connect notification tile on app home page during setup (so it…
OrangeAndGreen Dec 2, 2024
a2dee9e
Removed a couple translated strings that shouldn't be translated.
OrangeAndGreen Dec 2, 2024
ac7445f
Added a little bottom margin to keep some text from cutting off
OrangeAndGreen Dec 2, 2024
59da77c
- background color change of progress bar
pm-dimagi Dec 3, 2024
cfe8594
-text size change in square box
pm-dimagi Dec 3, 2024
2a55fd8
-progress bar color change
pm-dimagi Dec 3, 2024
ed3c688
Update square button icons
avazirna Dec 3, 2024
7ea3cf6
Update square tile font size
avazirna Dec 3, 2024
b79797c
Update square tile layout
avazirna Dec 3, 2024
0fd646d
Hiding "Checking..." text after checking phone number
OrangeAndGreen Dec 3, 2024
d5d25aa
Fixed some missing translations.
OrangeAndGreen Dec 3, 2024
2c5eefe
-button spacing in the dialog box
pm-dimagi Dec 3, 2024
5259fad
-radius correction in progress bar
pm-dimagi Dec 4, 2024
3ed066a
logs exceptions encountered while saving image
shubham1g5 Dec 4, 2024
d60d242
Merge pull request #2903 from dimagi/entityCacheLimitation
shubham1g5 Dec 4, 2024
a90c404
Merge pull request #2906 from dimagi/logImageSaveError
shubham1g5 Dec 4, 2024
356df2e
-radius correction in progress bar
pm-dimagi Dec 4, 2024
802b7b0
Hide job status button
Jay13Panchal Dec 4, 2024
2d91ac3
Merge pull request #2901 from dimagi/dv/form_progress_bar
pm-dimagi Dec 4, 2024
2182e23
Merge branch 'master' into pm_rounded_button
avazirna Dec 4, 2024
063e95c
Update primary colour
avazirna Dec 4, 2024
53befeb
Update repeat group control dialog
avazirna Dec 4, 2024
5f33c64
Change dialog negative action style
avazirna Dec 4, 2024
bca1a8c
Lint only changed files in the PR
shubham1g5 Dec 4, 2024
12f39a6
Solved recovery bugs
Jay13Panchal Dec 4, 2024
b58c6eb
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Dec 4, 2024
732c706
Use positive button style in negative button
avazirna Dec 4, 2024
93314ed
Addressing PR feedback.
OrangeAndGreen Dec 4, 2024
d4d32c8
Merge pull request #2908 from dimagi/lintOnlyChangedFiles
shubham1g5 Dec 4, 2024
6cc1a00
Simplified ConnectId.linkHqWorker to take ConnectLinkedAppRecord inst…
OrangeAndGreen Dec 4, 2024
906137d
Simplified linkHqWorker to take ConnectLinkedAppRecord from caller in…
OrangeAndGreen Dec 4, 2024
a8bcc43
Better error handling when linkHqWorker fails
OrangeAndGreen Dec 4, 2024
445ec10
Added ServerUrls.buildEndpoint helper method to build new endpoints u…
OrangeAndGreen Dec 4, 2024
1def181
Update primary colour
avazirna Dec 4, 2024
b4dad76
Added SsoToken class with common code for retrieving token info from …
OrangeAndGreen Dec 4, 2024
41ca5e8
Removed date-related functions from network helper, using existing Da…
OrangeAndGreen Dec 4, 2024
9312dfd
Removed date-related functions from network helper class, using exist…
OrangeAndGreen Dec 4, 2024
3d9b7ea
Extracted common code for building POST data from parameters, to be u…
OrangeAndGreen Dec 4, 2024
b2aa121
Moved Connect-related classes to v2.55 section
OrangeAndGreen Dec 4, 2024
ea2db93
Added static helper class to lazy load KeyStore singleton.
OrangeAndGreen Dec 4, 2024
322e1aa
Update Wifi direct UI tiles
avazirna Dec 4, 2024
9b03da9
enable gradle configuration cache
shubham1g5 Dec 5, 2024
d412539
Lint
OrangeAndGreen Dec 5, 2024
b22e5cd
Removes some logs which are killing our sumologic usage
shubham1g5 Dec 5, 2024
eea1345
Merge branch 'connect_qa' into jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
f9f19e4
Merge branch 'connect_qa' into jp/CCCT-563-delivery-detail-bottom-sheet
OrangeAndGreen Dec 5, 2024
f7a0066
Reduced a little duplicated code
OrangeAndGreen Dec 5, 2024
332bf4e
Merge pull request #2904 from dimagi/jp/CCCT-563-delivery-detail-bott…
OrangeAndGreen Dec 5, 2024
648739c
Merge branch 'connect_qa' into jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
56dd386
Fixed navigation after wrong password during recovery.
OrangeAndGreen Dec 5, 2024
87438a5
Merge pull request #2909 from dimagi/jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
b842ebd
Merge branch 'master' into dv/connectid_foundation
OrangeAndGreen Dec 5, 2024
4a88457
Shortened a Portuguese string
OrangeAndGreen Dec 6, 2024
5bd2968
Logging exception when linking HQ worker fails
OrangeAndGreen Dec 6, 2024
4ac0f10
Make dialog buttons rounded cornered
avazirna Dec 6, 2024
3dcb2f1
Refactor
avazirna Dec 6, 2024
1e5f9d8
Change active controls colour to primary colour
avazirna Dec 6, 2024
5f22c1a
-ui overview design changes
pm-dimagi Dec 8, 2024
6c9ba8c
Update audio recorging widget buttons
avazirna Dec 8, 2024
38a4dc9
Update broacast receivers exported attribute
avazirna Dec 9, 2024
05e8b40
Merge pull request #2911 from dimagi/cleanLogs
avazirna Dec 9, 2024
d7bd8f1
Merge pull request #2910 from dimagi/enableConfigurationCache
avazirna Dec 9, 2024
26eb7c3
Merge pull request #2905 from dimagi/standardLibsUpdate
avazirna Dec 9, 2024
3ea45c8
Update style
avazirna Dec 9, 2024
a1947c9
Merge pull request #2865 from dimagi/removeCipherPool
avazirna Dec 9, 2024
9365782
Update notification icon
avazirna Dec 9, 2024
c06692c
Refactor
avazirna Dec 9, 2024
67d2919
Refactor
avazirna Dec 9, 2024
86ef226
Downgrade Espresso to 3.4
avazirna Dec 9, 2024
61e12ff
Merge pull request #2894 from dimagi/android-14-update
avazirna Dec 10, 2024
75a6bf3
report non fatals to firebase
shubham1g5 Dec 10, 2024
44c763e
Update rounded buttons style
avazirna Dec 10, 2024
edbc979
Optimize map buttons styles
avazirna Dec 10, 2024
13ae017
Merge remote-tracking branch 'origin/pm_rounded_button' into pm_round…
pm-dimagi Dec 10, 2024
a79cc5b
Solve learning/delivery progress screen bugs
Jay13Panchal Dec 11, 2024
180db27
-- change of negative button style
pm-dimagi Dec 11, 2024
b8df5cf
Solved translation issue
Jay13Panchal Dec 11, 2024
e2d43ec
Solved home screen issues
Jay13Panchal Dec 11, 2024
af3bc61
Merge branch 'connect_qa' into jp/CCCT-567-home-screen-ui-fixes
Jay13Panchal Dec 11, 2024
dde40f5
-change in the date picker color
pm-dimagi Dec 11, 2024
2e275f5
Revert "Optimize map buttons styles"
avazirna Dec 11, 2024
9e87ddb
Update map buttons style
avazirna Dec 11, 2024
4ef0149
Use selector to set rounded button background
avazirna Dec 11, 2024
4de1c0b
logs full exceptions
shubham1g5 Dec 11, 2024
487aa80
Add ReLinker dependency
avazirna Dec 11, 2024
eb6ce41
Improve RTL support
avazirna Dec 11, 2024
7f2a6cc
Merge pull request #2916 from dimagi/QA-7293-portuguese-translation-bugs
OrangeAndGreen Dec 11, 2024
33af9da
Better management of pending Connect actions via DispatchActivity.
OrangeAndGreen Dec 11, 2024
c4be870
Merge pull request #2897 from dimagi/pm_rounded_button
avazirna Dec 11, 2024
5c58adc
Change logic for hide job status button
Jay13Panchal Dec 12, 2024
70166d2
Remove progress text
Jay13Panchal Dec 12, 2024
8afd1b1
Merge pull request #2914 from dimagi/reportNonFatals
avazirna Dec 12, 2024
1f6925a
Merge pull request #2918 from dimagi/fix-mapbox-sdk-dependency-issue
avazirna Dec 12, 2024
a607762
Solve user creation issue
Jay13Panchal Dec 12, 2024
4238469
Automated version bump
avazirna Dec 12, 2024
5f85a7f
Solved OTP remove issue from edittext
Jay13Panchal Dec 12, 2024
132bfb9
Merge branch 'connect_qa' into jp/CCCT-567-home-screen-ui-fixes
OrangeAndGreen Dec 12, 2024
49a1a06
Small improvement to logic for hiding Job Status button
OrangeAndGreen Dec 12, 2024
bc92f47
Merge pull request #2917 from dimagi/jp/CCCT-567-home-screen-ui-fixes
OrangeAndGreen Dec 12, 2024
eadb00e
Merge branch 'connect_qa' into jp/QA-7332-user-creation-issue
OrangeAndGreen Dec 12, 2024
a5d3c78
Merge pull request #2919 from dimagi/jp/QA-7332-user-creation-issue
OrangeAndGreen Dec 12, 2024
b609450
Merge branch 'connect_qa' into jp/QA-7221-learning-delivery-progress-…
OrangeAndGreen Dec 12, 2024
7c03cc8
Merge pull request #2915 from dimagi/jp/QA-7221-learning-delivery-pro…
OrangeAndGreen Dec 12, 2024
806bdf9
Closing old user session at a different point (so nav can flow proper…
OrangeAndGreen Dec 12, 2024
ab6ae46
- secondry phone issue
pm-dimagi Dec 12, 2024
d5d3d35
-log exception
pm-dimagi Dec 12, 2024
47d255a
Logging exception instead of simple log message
OrangeAndGreen Dec 12, 2024
56e87f3
Merge branch 'connect_qa' into pm_QA_7325
OrangeAndGreen Dec 12, 2024
47d6859
Merge pull request #2921 from dimagi/pm_QA_7325
OrangeAndGreen Dec 12, 2024
96a1c74
Reporting exception via CrashUtil instead of Logger
OrangeAndGreen Dec 13, 2024
a4bf545
Solve OTP issue
Jay13Panchal Dec 13, 2024
169247b
Using parseDateTime instead of parseDate for some server dates
OrangeAndGreen Dec 13, 2024
83bd409
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Dec 13, 2024
1260f3e
Showing message on app home when user in learn app and ready to trans…
OrangeAndGreen Dec 13, 2024
1b28dcc
Merge pull request #2924 from dimagi/dv/learn-to-deliver
OrangeAndGreen Dec 13, 2024
2e2fb72
Merged foundation PR (with additional changes) into main Connect branch
OrangeAndGreen Dec 17, 2024
fecd2bc
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Dec 17, 2024
c358683
Merge branch 'dv/connectid_foundation' of https://github.com/dimagi/c…
OrangeAndGreen Dec 17, 2024
d4e22f5
Removed some duplicated strings and colors
OrangeAndGreen Dec 17, 2024
5b3b5e1
Cleaning up file that should be deleted already
OrangeAndGreen Dec 17, 2024
8b6bcb8
Set default country code
Jay13Panchal Dec 18, 2024
dfb5d64
Restored work from master branch that had been lost on connect_qa bra…
OrangeAndGreen Dec 18, 2024
7895bd2
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Dec 21, 2024
8e17dcb
-sms brodcast fix
pm-dimagi Dec 29, 2024
eec4848
Merge pull request #2931 from dimagi/qa_master_merge
OrangeAndGreen Dec 31, 2024
d0c5efd
Merge branch 'connect_qa' into jp/issue-otp-view
OrangeAndGreen Dec 31, 2024
c41bb2a
Clearing previous input when user presses back.
OrangeAndGreen Dec 31, 2024
b4fe7c6
Merge pull request #2923 from dimagi/jp/issue-otp-view
OrangeAndGreen Dec 31, 2024
671347b
Merge branch 'connect_qa' into jp/CCCT-627-country-code-issue
OrangeAndGreen Dec 31, 2024
3f840bf
Merge pull request #2926 from dimagi/jp/CCCT-627-country-code-issue
OrangeAndGreen Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
## Product Description
<!-- For non-invisible changes, describe user-facing effects. Would be good to add screenshots/videos for any major user facing changes -->

## 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

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
with:
fetch-depth: 0

- name: Get changed files
id: files
uses: octokit/[email protected]
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:
Expand All @@ -29,3 +37,5 @@ jobs:
IGNORE_GITIGNORED_FILES: true
VALIDATE_JSCPD: false
JAVA_FILE_NAME: checkstyle.xml
with:
changed_files: ${{ steps.files.outputs.files }}
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
470 changes: 217 additions & 253 deletions app/AndroidManifest.xml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions app/assets/locales/android_translatable_strings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ form.entry.incomplete.save.success=Form saved as incomplete
form.entry.save.error=Sorry, form save failed. Please contact CommCare Support to look into the issue.
form.entry.save.invalid.unicode=Could not save '${0}' text in form.
form.entry.finish.button=FINISH
form.entry.exit.button=EXIT
form.entry.restart.after.expiration=You were logged out due to session expiration. The form you were in the middle of has been saved and resumed.
form.entry.restart.after.session.pause=CommCare was closed and the form you were in the middle of has been saved and resumed.

login.attempt.badcred=Username or password are incorrect. Please try again.

Expand Down Expand Up @@ -899,8 +901,8 @@ repeat.dialog.go.back=Go Back
repeat.dialog.leave=Do Not Add
repeat.dialog.exit=Do Not Add. I'm Finished.
repeat.dialog.add=Add Group
repeat.dialog.add.another=Add another "${0}" group?
repeat.dialog.add.new=Add a new "${0}" group?
repeat.dialog.add.another=Add another ${0}?
repeat.dialog.add.new=Add a new ${0}?
lookup.table.missing.error=Unable to find lookup table "${0}". Make sure it exists and this user has access to it.

ethiopian_months=Mäskäräm,T’ïk’ïmt,Hïdar,Tahsas,T’ïr,Yäkatit,Mägabit,Miyaziya,Gïnbot,Säne,Hämle,Nähäse,P’agume
Expand Down
46 changes: 27 additions & 19 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@ configurations {
}

dependencies {
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.2'
testImplementation('org.robolectric:robolectric:4.8.2') {
exclude(group: 'org.bouncycastle', module: 'bcprov-jdk15on')
}
testImplementation 'org.robolectric:shadows-multidex:4.8.2'
testImplementation 'androidx.test:core:1.5.0'
testImplementation 'androidx.test:runner:1.5.2'
testImplementation 'androidx.test.ext:junit:1.1.3'
testImplementation 'androidx.work:work-testing:2.7.1'
testImplementation 'androidx.test.espresso:espresso-core:3.4.0'
testImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.2'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3'
testImplementation 'io.mockk:mockk:1.12.7'
testImplementation 'org.json:json:20140107'
testImplementation 'org.json:json:20231013'
testImplementation project(path: ':commcare-core', configuration: 'testsAsJar')

androidTestImplementation 'androidx.test:runner:1.4.0'
Expand All @@ -70,16 +69,19 @@ dependencies {
implementation fileTree(include: '*.jar', exclude: 'regexp-me.jar', dir: 'libs')
implementation(name: 'htmlspanner-custom', ext: 'aar')
implementation 'com.github.dimagi:zebra-print-android:v1.3'
implementation 'com.simprints:LibSimprints:1.0.12'
implementation (name: 'LibSimprints-1.0.12', ext: 'aar')
implementation (name: 'mapbox-android-accounts-0.2.0', ext: 'aar')
implementation (name: 'realm-android-library-4.1.1', ext: 'aar')
implementation (name: 'volley-1.1.0', ext: 'aar')
implementation (name: 'storage-2.1.0', ext: 'aar')
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.72'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-maps:19.0.0'
implementation 'joda-time:joda-time:2.9.4'
implementation 'net.zetetic:android-database-sqlcipher:4.5.3@aar'
implementation 'androidx.sqlite:sqlite:2.2.0'
Expand All @@ -104,13 +106,15 @@ dependencies {
implementation 'com.google.firebase:firebase-messaging:21.1.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'com.duolingo.open:rtl-viewpager:2.0.0'
implementation (name: 'rtl-viewpager-2.0.0', ext: 'aar')
implementation('com.github.bumptech.glide:glide:4.9.0') {
exclude group: 'com.android.support'
}

implementation 'com.getkeepsafe.relinker:relinker:1.4.4'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"

// Markdown
implementation "io.noties.markwon:core:$markwon_version"
Expand All @@ -119,9 +123,13 @@ dependencies {

implementation('io.ona.kujaku:library:0.9.0') {
exclude module: 'xpp3'
exclude module: 'volley'
exclude module: 'storage'
exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-accounts'
exclude group: 'io.realm'
}
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
implementation 'androidx.work:work-runtime:2.10.0'
implementation 'androidx.work:work-runtime-ktx:2.10.0'

implementation 'com.google.android.play:app-update:2.1.0'
implementation 'android.arch.lifecycle:common-java8:1.1.1'
Expand All @@ -137,7 +145,7 @@ dependencies {
implementation 'com.appmattus.certificatetransparency:certificatetransparency-android:2.5.4'

// Dependency required for API desugaring
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_minimal:2.0.3'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_minimal:2.1.3'

implementation 'androidx.biometric:biometric:1.1.0'

Expand Down Expand Up @@ -196,7 +204,7 @@ afterEvaluate {
* https://discuss.gradle.org/t/gradle-7-0-seems-to-take-an-overzealous-approach-to-inter-task-dependencies/39656/2
* Gradle 7.0 treats any copy tasks as having an implicit dependencies with each other.
*/
task injectPropertiesIntoFirebaseConfigFile {
tasks.register('injectPropertiesIntoFirebaseConfigFile') {
description = 'Injects properties into the google-services.json file at runtime'

copy {
Expand Down Expand Up @@ -234,7 +242,7 @@ static def getDate() {

android {
namespace 'org.commcare.dalvik'
compileSdk 33
compileSdk 35

lintOptions {
abortOnError false
Expand All @@ -257,12 +265,13 @@ android {

buildFeatures {
buildConfig true
dataBinding true
}

defaultConfig {
minSdkVersion 21
targetSdkVersion 33
multiDexEnabled true
targetSdkVersion 34

applicationId 'org.commcare.dalvik'
testNamespace 'org.commcare.dalvik.test'

Expand Down Expand Up @@ -472,7 +481,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
testProguardFiles 'test-proguard.cfg'

multiDexKeepProguard file('proguard-multidex.pro')
// enable crashlytics
buildConfigField 'boolean', 'USE_CRASHLYTICS', 'true'
ext.enableCrashlytics = true
Expand Down Expand Up @@ -504,7 +512,7 @@ android {
* Download and unpack commcare app associated with 'cc_app_id' into assets
* folder
*/
task downloadCCApp(type: Exec)
tasks.register('downloadCCApp', Exec)

// task configuration phase
downloadCCApp {
Expand Down Expand Up @@ -534,7 +542,7 @@ downloadCCApp {
}


task downloadRestoreFile(type: Exec)
tasks.register('downloadRestoreFile', Exec)

// task configuration phase
downloadRestoreFile {
Expand Down Expand Up @@ -564,7 +572,7 @@ downloadRestoreFile {
}

// dynamically inject commcare app download into standalone build process
tasks.whenTaskAdded { task ->
tasks.configureEach { task ->
if ((task.name == 'processStandaloneDebugResources' ||
task.name == 'processStandaloneReleaseResources') && 'true' == runDownloadScripts) {
task.dependsOn downloadCCApp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import kotlin.math.absoluteValue

@RunWith(AndroidJUnit4::class)
@LargeTest
@BrowserstackTests
class DateWidgetsTests : BaseTest() {
companion object {
const val CCZ_NAME = "date_widgets_tests.ccz"
Expand Down Expand Up @@ -162,4 +161,4 @@ class DateWidgetsTests : BaseTest() {
val newDate = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(date)
return newDate
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.commcare.androidTests

import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down Expand Up @@ -44,15 +45,16 @@ class DialogTests: BaseTest() {
onView(withId(R.id.nav_btn_next))
.perform(click())

withText("Add a new \"Error on add\" group?").isDisplayed()
onView(withId(R.id.choice_dialog_panel_2)).check(matches(withText("Add a new Error on add?")))

InstrumentationUtility.rotateLeft()
//TODO Expect dialog to not persist due to a activity lifecycle bug in our dialog framework.
withText("Add a new \"Error on add\" group?").doesNotExist()
withText(R.id.choice_dialog_panel_2).doesNotExist()

InstrumentationUtility.rotatePortrait()
onView(withId(R.id.nav_btn_next))
.perform(click())
onView(withText("ADD GROUP"))
onView(withId(R.id.choice_dialog_panel_2))
.perform(click())

checkDialogExistence_withRotation("Error Occurred")
Expand Down
Binary file added app/libs/LibSimprints-1.0.12.aar
Binary file not shown.
Binary file added app/libs/mapbox-android-accounts-0.2.0.aar
Binary file not shown.
Binary file added app/libs/realm-android-library-4.1.1.aar
Binary file not shown.
Binary file added app/libs/rtl-viewpager-2.0.0.aar
Binary file not shown.
Binary file added app/libs/storage-2.1.0.aar
Binary file not shown.
Binary file added app/libs/volley-1.1.0.aar
Binary file not shown.
2 changes: 0 additions & 2 deletions app/proguard-multidex.pro

This file was deleted.

10 changes: 10 additions & 0 deletions app/res/color/button_green_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Disabled state -->
<item android:state_enabled="false" android:color="@color/green_700" />
<!-- Pressed state -->
<item android:state_pressed="true" android:color="@color/green_900" />
<!-- Default state -->
<item android:color="@color/green_500" />
</selector>

9 changes: 9 additions & 0 deletions app/res/color/button_orange_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Disabled state -->
<item android:state_enabled="false" android:color="@color/orange_700" />
<!-- Pressed state -->
<item android:state_pressed="true" android:color="@color/orange_900" />
<!-- Default state -->
<item android:color="@color/orange_500" />
</selector>
9 changes: 9 additions & 0 deletions app/res/color/button_red_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Disabled state -->
<item android:state_enabled="false" android:color="@color/red_700" />
<!-- Pressed state -->
<item android:state_pressed="true" android:color="@color/red_900" />
<!-- Default state -->
<item android:color="@color/red_500" />
</selector>
2 changes: 1 addition & 1 deletion app/res/color/primary_button_background.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/button_disabled" android:state_enabled="false" />
<item android:color="@color/button_primary" />
<item android:color="@color/button_primary_color" />
</selector>
Binary file removed app/res/drawable-hdpi-v14/notification.png
Binary file not shown.
Binary file added app/res/drawable-hdpi/connect_arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/connect_edittext_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/connect_ic_inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_download_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_expired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_learning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_new_opportunity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/res/drawable-hdpi/icon_app_white.png
Binary file not shown.
Binary file removed app/res/drawable-hdpi/notification.png
Binary file not shown.
Binary file modified app/res/drawable-hdpi/pause_question_audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/res/drawable-hdpi/play_question_audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/res/drawable-large/commcare_logo.png
Binary file not shown.
Binary file removed app/res/drawable-ldpi-v14/notification.png
Binary file not shown.
Binary file added app/res/drawable-ldpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_download_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_expired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_learning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_new_opportunity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/res/drawable-ldpi/icon_app_white.png
Binary file not shown.
Binary file removed app/res/drawable-ldpi/notification.png
Binary file not shown.
Binary file removed app/res/drawable-mdpi-v14/notification.png
Binary file not shown.
Binary file added app/res/drawable-mdpi/connect_arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/connect_edittext_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/connect_ic_inventory.png
Binary file added app/res/drawable-mdpi/ic_connect_delivery.png
Binary file added app/res/drawable-mdpi/ic_connect_download_green.png
Binary file added app/res/drawable-mdpi/ic_connect_expired.png
Binary file added app/res/drawable-mdpi/ic_connect_learning.png
Binary file added app/res/drawable-mdpi/ic_connect_new_opportunity.png
Binary file removed app/res/drawable-mdpi/icon_app_white.png
Diff not rendered.
Binary file removed app/res/drawable-mdpi/notification.png
Diff not rendered.
Binary file modified app/res/drawable-mdpi/pause_question_audio.png
Binary file modified app/res/drawable-mdpi/play_question_audio.png
Binary file added app/res/drawable-xhdpi/connect_arrow_down.png
Binary file added app/res/drawable-xhdpi/connect_ic_inventory.png
Binary file added app/res/drawable-xhdpi/ic_connect_delivery.png
Binary file added app/res/drawable-xhdpi/ic_connect_download_green.png
Binary file added app/res/drawable-xhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xhdpi/ic_connect_learning.png
Binary file removed app/res/drawable-xhdpi/icon_app_white.png
Diff not rendered.
Binary file modified app/res/drawable-xhdpi/pause_question_audio.png
Binary file modified app/res/drawable-xhdpi/play_question_audio.png
Binary file added app/res/drawable-xxhdpi/connect_arrow_down.png
Binary file added app/res/drawable-xxhdpi/connect_ic_inventory.png
Binary file added app/res/drawable-xxhdpi/ic_connect_delivery.png
Binary file added app/res/drawable-xxhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xxhdpi/ic_connect_learning.png
Binary file added app/res/drawable-xxxhdpi/connect_arrow_down.png
Binary file added app/res/drawable-xxxhdpi/connect_ic_inventory.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_delivery.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_learning.png
Binary file modified app/res/drawable-xxxhdpi/pause_question_audio.png
Binary file modified app/res/drawable-xxxhdpi/play_question_audio.png
7 changes: 0 additions & 7 deletions app/res/drawable/actionbar_modern_spacing.xml

This file was deleted.

5 changes: 5 additions & 0 deletions app/res/drawable/baseline_menu_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>
</vector>
5 changes: 5 additions & 0 deletions app/res/drawable/baseline_save_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="48dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M17,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,7l-4,-4zM12,19c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM15,9L5,9L5,5h10v4z"/>
</vector>
11 changes: 11 additions & 0 deletions app/res/drawable/bottom_shadow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- bottom_shadow.xml -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<gradient
android:startColor="@color/connect_blue_color_50"
android:endColor="@android:color/transparent"
android:angle="270" />
</shape>
</item>
</layer-list>
2 changes: 1 addition & 1 deletion app/res/drawable/btn_finish_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
android:state_pressed="true"
android:drawable="@color/cc_attention_positive_text"/>
<item
android:drawable="@color/cc_attention_positive_color"/>
android:drawable="@color/start_home_button"/>
</selector>
8 changes: 8 additions & 0 deletions app/res/drawable/button_background_white.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" /> <!-- Background color -->
<corners android:radius="22dp" /> <!-- Rounded corners -->
<stroke
android:width="2dp"
android:color="@color/cc_brand_color" /> <!-- Optional border -->
</shape>
8 changes: 0 additions & 8 deletions app/res/drawable/button_green_background.xml

This file was deleted.

8 changes: 0 additions & 8 deletions app/res/drawable/button_orange_background.xml

This file was deleted.

Loading