From 039818d4df1b30e99e1c77ef072713980999d38e Mon Sep 17 00:00:00 2001 From: Aaron Huttner Date: Thu, 25 Aug 2016 15:55:13 -0400 Subject: [PATCH] Update county names. Add image helper methods to change the aspect ratio of the signature and shrink the file size Add other party field. Change registration address --> residential address version bump --- .idea/misc.xml | 4 - app/build.gradle | 2 +- .../grommet/data/api/ApiModule.java | 5 +- .../grommet/data/api/RegistrationService.java | 50 ++++--- .../data/api/model/ApiVoterRegistration.java | 24 +++- .../grommet/data/db/DbOpenHelper.java | 3 +- .../grommet/data/db/model/RockyRequest.java | 19 ++- .../grommet/ui/UploadNotification.java | 20 ++- .../registration/AdditionalInfoFragment.java | 37 ++++- .../ui/registration/RegistrationActivity.java | 2 +- .../ReviewAndConfirmFragment.java | 5 +- .../grommet/ui/views/AddressView.java | 2 +- .../grommet/ui/views/EventDetails.java | 1 + .../com/rockthevote/grommet/util/Images.java | 74 ++++++++++ .../res/layout/fragment_additional_info.xml | 24 ++++ app/src/main/res/values/arrays.xml | 136 +++++++++--------- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/strings.xml | 6 +- 18 files changed, 304 insertions(+), 111 deletions(-) create mode 100644 app/src/main/java/com/rockthevote/grommet/util/Images.java diff --git a/.idea/misc.xml b/.idea/misc.xml index c3583903..1caa1363 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -2,10 +2,6 @@ - - - -