Commit graph

342 commits

Author SHA1 Message Date
Darcy Wong
a51335901f fix(android/app): Use TextView instead of toolbar
Per review comment, make version string smaller
2020-09-16 09:13:48 +07:00
Darcy Wong
b2c4d0407a fix(android/app): Pass keyboard to StepperAdapter
Pass keyboard so SelectLanguageFragment can display correct keyboard info
2020-09-08 15:09:38 +07:00
Darcy Wong
df7e3a0796 fix(android): Try to disable for SelectLanguageActivity 2020-09-08 14:08:43 +07:00
Darcy Wong
3f45186c94 fix(android): Disable "INSTALL" button if no languages selected 2020-09-08 10:16:02 +07:00
Darcy Wong
b76afe88ad fix(android/app): Add landscape dimension 2020-09-08 10:11:35 +07:00
Darcy Wong
ea941720dc fix(android/app): Modify Info Activity to use titlebar styling 2020-09-07 21:24:25 +07:00
Darcy Wong
18061ef19a fix(android/app): Remove unused intent ACTION_GET_USERDATA 2020-09-02 13:29:32 +07:00
Darcy Wong
4e7145f0f9
Merge pull request #3532 from keymanapp/fix/android/menu-overflow
fix(android/app): Fix overflow menu for hdpi devices
2020-08-28 13:27:33 +07:00
Darcy Wong
f604eaa06a fix(android/app): Fix overflow menu for hdpi devices 2020-08-28 12:30:12 +07:00
Darcy Wong
4a963533c0 fix(android/app): Inject meta viewport tag for viewing help
Fixes #3522 by injecting a meta viewport tag if the help document in WebViewFragment doesn't contain it.
This replaces the 200% zoom.
2020-08-27 09:21:53 +07:00
Darcy Wong
add7edd25c chore(android): Cleanup more strings
Per review comments:
* Include keyboard name in toast notification on keyboard install
* Remove label_complete and use "OK" button when complete
2020-08-26 15:06:10 +07:00
Darcy Wong
6d98103f75 fix(android): Update titlebar styling
Per review comments
* Use ellipsis to truncate long titles
* Use Keyman styling during installation, but keep green accent line for Settings
2020-08-25 13:26:10 +07:00
Darcy Wong
b5f7084d08 feat(android): Pass optional language tag to language picker 2020-08-25 07:42:32 +07:00
Darcy Wong
95c05ec9b8 fix(android): Use consistent styling for titlebar text 2020-08-24 16:32:06 +07:00
Darcy Wong
5ef7eab5f3 chore(android): Revert selectLanguageFragment - no longer needed 2020-08-24 10:33:10 +07:00
Darcy Wong
4c355aa002 chore(android): Revert some lines 2020-08-24 10:27:54 +07:00
Darcy Wong
542a4db3d5 chore(android): Tweak languages strings 2020-08-24 08:33:09 +07:00
Darcy Wong
90bdd1f260 fix(android): Add SelectLanguageActivity for SelectPackageActivity 2020-08-22 21:13:45 +07:00
Darcy Wong
617073cc71 feat(android): Start adjusting steps and buttons 2020-08-21 21:52:17 +07:00
Darcy Wong
92b9d1734b feat(android): Incorporate Stepper for installing packages 2020-08-21 15:10:52 +07:00
Darcy Wong
d8123c5ea9 fix(android): Incorporate review suggestions
* Rename var `tempPath` to `isInstallingPackage`
* Tweak install dictionary title (and size of titlebar)
* Change "NEXT ->" button to "INSTALL ->" on language picker page
2020-08-21 08:43:38 +07:00
Darcy Wong
3d7c7f6bc0 feat(android): Allow user to select multiple languages 2020-08-18 13:58:10 +07:00
Darcy Wong
8f5d63a549 chore(android): More cleanup 2020-08-18 10:38:10 +07:00
Darcy Wong
fa46d03ed2 chore(android): Cleanup 2020-08-18 10:26:16 +07:00
Darcy Wong
64b723a565 fix(android): Use bottom nav bar 2020-08-18 10:17:02 +07:00
Darcy Wong
9578679970 fix(android): Using forward arrows for now
We'll want to use Material Design steppers for navigating through the kmp install.
In the meantime, this adds the "NEXT"/"INSTALL" button right of the title bar
2020-08-17 15:02:54 +07:00
Darcy Wong
bb45346c5d fix(android): Adjust titlebar UI 2020-08-17 09:46:49 +07:00
Darcy Wong
cd1daf4c7e feat(android): Use language lists for processing KMP 2020-08-17 07:51:00 +07:00
Darcy Wong
d34e568607 fix(android): UI changes for SelectLanguageActivity
* Sort by language name
* Show language picker when a keyboard package has 1 keyboard with multiple languages
* Don't display the BCP 47 language ID or right arrows
2020-08-17 07:50:45 +07:00
Darcy Wong
ef44b4268f fix(android): Use CustomHelpLink
Use CustomHelpLink which will contain offline  help
2020-08-14 08:02:52 +07:00
Darcy Wong
a368e1abc1 fix(android): UI changes
* Move button to below title bar
* Update title strings
* Use back button for "Cancel" action
* Use index for PackageProcesor utilities
2020-08-13 15:32:25 +07:00
Darcy Wong
69e0454009 feat(android/app): Add UX to pick language when installing keyboard pkg 2020-08-13 15:07:15 +07:00
Darcy Wong
fe09ac73fe fix(android/app): Fix environment portion of app version string
When displaying the Info page of alpha builds from the Play Store, we noticed the version string displayed the wrong environment:
`14.0.X-alpha-local` (CI builds should have ended with `-alpha`).

It turns out  the `VERSION_` shell variables  from `build-utils.sh` aren't visible in `version.gradle` (though CI environment variables like `build_counter` are visible).

This PR:
* Exports the two VERSION strings needed in version.gradle
* Updates the Info page to simply display `BuildConfig.VERSION_NAME`
2020-08-06 10:34:26 +07:00
Darcy Wong
435278845a chore(android): Merge remote-tracking branch 'origin/master' into fix/android/cleanup-string-format 2020-08-05 07:40:09 +07:00
Darcy Wong
2020d55bca feat(android): Use staging help site for prerelease builds
* Update build-help.sh to have option of getting content from local, staging, or production help site
* Update Info Activity to choose help host from tier
2020-08-04 14:47:08 +07:00
Darcy Wong
f049b37db7 fix(android): Cleanup string formatting with strings.xml 2020-08-04 13:00:20 +07:00
Darcy Wong
fe27e73ac7 feat(android/app): Associate app with /keyboards/install links 2020-08-03 13:37:59 +07:00
Darcy Wong
239c632dbe chore(android): Cleanup 2020-07-15 09:48:32 +07:00
Darcy Wong
d1ac23105c fix(android): Fix intent and parsing of URL query
* Add intent to handle download links from current live site: https://keyman.com/keyboard/download/
* Fix parsing of bcp47 query
* Only use the path for determining filename from packageID
*
2020-07-15 06:32:17 +07:00
Darcy Wong
eb93f5c305 fix(android): Refactor check on kmp links 2020-07-14 21:34:02 +07:00
Darcy Wong
e88e3ca5a1 fix(android): Fix regression for handling .kmp links 2020-07-14 15:50:51 +07:00
Darcy Wong
10f503660d fix(android): Handle go/package/download links 2020-07-13 21:57:51 +07:00
Darcy Wong
303873b64f fix(android): Add to KMManager API
Add getDefaultKeyboard() and setDefaultKeyboard() to KMManager API.
2020-07-09 10:55:41 +07:00
Darcy Wong
9903c92c7a chore(android): Cleanup 2020-07-03 08:59:22 +07:00
Darcy Wong
477cb11349 fix(android): Download associated lexical model 2020-07-03 08:09:33 +07:00
Darcy Wong
8d8cf035b9 feat(android): Download default resources at build time
Similar to the OEM FirstVoices Android app, this updates the KMAPro `build.sh` script to download the latest default language resources (keyboard and dictionary) as part of the build process.
2020-06-30 13:19:02 +07:00
Darcy Wong
6e2770535f feat(android): SelectLanguage title depends on installed list 2020-06-19 13:21:26 +07:00
Darcy Wong
97540655bc feat(android): Address review comments
* Fix strings
* Refactor keyboard/list generation and return all the languages
* Modify adapter to disable installed languages
2020-06-19 12:55:42 +07:00
Darcy Wong
8e5d29557f chore(android): Cleanup unused imports 2020-06-18 22:03:59 +07:00
Darcy Wong
7bd304ee71 fix(android): Implement menu to add language for installed keyboard pkg 2020-06-18 21:44:14 +07:00