Commit Graph

91 Commits

Author SHA1 Message Date
Akash Yadav 6911d9bdfc fix: update translations (#1125) 2023-08-05 09:41:57 +05:30
Akash Yadav 6cdb6bd374 fix(lsp/java): add null checks before performing code actions (closes #1156) 2023-08-01 10:01:12 +05:30
Akash Yadav 94bbd0a4f4 fix: show empty state hints for bottom sheet fragments (closes #1157, closes #1158) 2023-07-31 22:47:11 +05:30
Rafael de Moura Dev c6bf1f5afd fix(resources): string "No AndroidX" without space between the two words (#1141)
This error causes suggestions for this string in Crowdin to be erroneous, which can lead to it being approved incorrectly, as happened with Portuguese. This simple commit fixes that
2023-07-26 14:27:39 +05:30
Akash Yadav 9c01547ef0 fix: update translations (#1097) 2023-07-18 16:38:17 +05:30
Akash Yadav ec15dc7dba fix(resources): typo in string 'title_android_veresion' 2023-07-18 15:38:54 +05:30
Akash Yadav 4b8b5af79d fix(resources): some string are untranslatable (closes #1117) 2023-07-18 13:22:23 +05:30
Akash Yadav 6c355a4041 feat: update translations (#1076) 2023-07-12 15:25:37 +05:30
Akash Yadav 80d1aab147 feat: update translations (#879) 2023-07-09 22:26:32 +05:30
Akash Yadav 7b52e70231 feat: add option to dump AndroidIDE logs to file 2023-06-26 20:01:32 +05:30
Akash Yadav af6f45ea85 feat: anonymous stat collection (2/2) 2023-06-21 16:41:36 +05:30
Akash Yadav e45dfc146b feat: anonymous stat collection (1/2) 2023-06-21 16:41:36 +05:30
Smooth E 1ee2f34c12 feat: various design improvements (#1023)
* refactor: A bunch of (mostly XML) styling

* fix(Main Activity): Make use of a dedicated Splash Activity to enable Dynamic coloring in MainActivity

* feat(edge-to-edge): Ground work to support edge-to-edge experiences throughout the IDE

* fix(edge-to-edge): Manually set bottom padding for fragment containment

* feat(edge-to-edge): Allow full activity rebuild on configuration changes for MainActivity. This allows to ship more specific layout changes and is a ground work to support split screen mode.

* Bug introduced: templates are not shown in the TemplateListFragment after full activity rebuild

* fix: Finish the Splash Activity after launching the Main one

* fix(templates): The list of templates no longer disappears after an activity rebuild or a configuration change

* fix(templates): Keep OnGlobalLayoutListener attached while the View is alive. This ensures that the last item in template list is always aligned to the start.

* feat(design): Custom layout for MainActivity's main fragment in landscape mode

* feat(edge-to-edge): Implement edge-to-edge for PreferencesActivity, move InsetUtils outside of the LimitlessIDEActivity.

* refactor(IDEPreferencesFragment.kt): Comply with the line-length rule, fix a one-line if statement to follow the general codestyle

* refactor(edge-to-edge): Remove PaddingUtils.kt
The reasoning behind this is that after `view.setPadding(left, top, right, bottom)` is executed, `view.getPaddingBottom()` (or for any other side) still returns the old value of padding before the view is measured again. Therefore the implementation of PaddingUtils.kt produces an unwanted and unexpected behaviour.

* feat(edge-to-edge): Create a BottomInsetHeightDistributor view

* fix(templates/design): Use OutlinedButton style for the *Exit* button inside the *New project* wizard's footer

* refactor: Comply with AndroidIDE's code style

* refactor: Make use of helper methods. Optimize XML

* fix(edge-to-edge): Wrong system bar coloring in Dark Mode
2023-06-09 23:09:41 +05:30
Smooth E fe169fc0e8 Always show the File Tree button in the toolbar (#1019)
* Implement a preference to always show the File Tree action in the toolbar

* Create the ExtendedMenuToolbar which tries to keep as many actions as possible outside of the overflow menu

* Repurpose the show-file-tree-button preference into hide-file-tree-button. Reason: the button is always technically shown, especially if we consider users with large screens.

* Move ExtendedMenuToolbar.kt into com.itsaky.androidide.ui in :common. Fix resource compilation error by escaping the apostrophe.

* Check whether the gesture navigation is enabled for setting the default value of idepref_editor_hide_file_tree_button

* Remove an unnecessary onAttachedToWindow() override
2023-06-04 17:42:28 +05:30
Akash Yadav bd79f7503c feat(templates): add parameter to choose between Kotlin and Groovy DSL 2023-05-24 17:41:57 +05:30
Akash Yadav 68cdb02965 feat: implement logic for creating template projects 2023-05-22 17:42:26 +05:30
Akash Yadav 84e2ed5f9b feat: implement UI for new templates API 2023-05-21 18:36:55 +05:30
Akash Yadav 7d35b0c990 fix: rename 'sponsor' text to 'donate' 2023-05-19 20:51:13 +05:30
Akash Yadav 7fa97d384b fix(resources): incorrect message for opening recent project 2023-05-18 23:03:24 +05:30
Akash Yadav 04feadbae8 feat: add base files for the Templates API 2023-05-05 13:17:07 +05:30
Akash Yadav fa8680e873 refactor: replace hardcoded package names in build scripts with BuildConfig property 2023-04-13 22:56:17 +05:30
Akash Yadav e52e62136e feat: add AIDL based LogSender API 2023-04-11 22:30:25 +05:30
Akash Yadav 43403304fa fix: 'Create layout file' checkbox is always visible when creating Java files 2023-03-31 13:03:03 +05:30
Akash Yadav 273e61daa8 feat(lsp/java): add 'Fix imports' actions
The 'Fix imports' action analyzes the file contents, walks through the diagnostic items looking for 'compiler.err.cant.resolve.location' errors, then performs an edit to
import all those classes at once. If multiple classes are found for a class name, the user is asked to choose the class that should be imported.
2023-03-29 01:42:24 +05:30
Akash Yadav e6d1e42004 feat: use Flashbar for project sync notification 2023-03-28 19:17:10 +05:30
Akash Yadav 9993793507 feat(editor): add preference for 'deleteEmptyLineFast' and 'deleteMultiSpaces' (closes #903) 2023-03-27 20:43:03 +05:30
Akash Yadav b7f6311064 refactor: remove unused string 2023-03-26 22:13:01 +05:30
Akash Yadav 3e215e3fdd New Crowdin updates (#861)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Hindi)
2023-03-15 22:18:06 +05:30
Akash Yadav e6025b002f Fix language code for Indonesian (#860)
Crowdin uses `id` as the language code for Indonesian. However, it should be `in`.
2023-03-14 19:44:19 +05:30
Akash Yadav b9bd8dd7df New Crowdin updates (#859) 2023-03-14 19:24:09 +05:30
Akash Yadav 15a201b61a refactor: remove unnecessary AssembleDebugAction 2023-03-14 19:20:59 +05:30
Akash Yadav 49fce6beaf Merge translations from Crowdin (#803)
Thanks to all the Crowdin contributors.
2023-03-14 18:47:08 +05:30
Akash Yadav d81c553557 fix: check tooling server state before executing tasks (fixes #847) 2023-03-09 23:18:45 +05:30
Akash Yadav 66b7f570db fix: catch exceptions while launching OPEN_DOCUMENT_TREE intent 2023-03-03 19:08:30 +05:30
Akash Yadav 28bd0ffc9a feat(editor/schemes): add option to reload color schemes at runtime 2023-03-03 18:07:41 +05:30
Akash Yadav f2e9eea49c feat: add preference to disable Java diagnostics (experimental) 2023-02-17 18:08:12 +05:30
Akash Yadav cd8758a1da New Crowdin updates (#793) 2023-02-13 19:25:36 +05:30
Akash Yadav b129cb29b2 New Crowdin updates (#728) 2023-02-12 17:30:36 +05:30
Akash Yadav 94598ebb61 fix(resources): some unstranslatable strings are translatable 2023-02-12 17:08:18 +05:30
Akash Yadav fbf93b5486 fix(resources): some unstranslatable strings are translatable 2023-02-12 09:10:56 +05:30
Akash Yadav e6e02b0526 fix(resources): some unstranslatable strings are translatable 2023-02-12 09:04:23 +05:30
Akash Yadav dadaf0d509 fix: crash if the built application cannot be launched (closes #759) 2023-01-28 22:54:52 +05:30
Deep Kr. Ghosh b2d6ec9c06 Add more layout adapters (#680)
IViewAdapter implementations for the following views have been added :
- GridViewAdapter
- ViewAnimatorAdapter
- ViewSwitcher
- TextSwitcher
- ImageSwitcher
- ViewFlipperAdapter
2023-01-01 22:30:49 +05:30
Akash Yadav 42a3e71114 chore: migrate to Kotlin DSL and Version Catalog 2022-12-30 23:24:38 +05:30
Akash Yadav 777cc1780a feat: categorize general preferences 2022-12-29 17:07:32 +05:30
Akash Yadav 2eb05af11a feat: add preference to toggle dynamic colors 2022-12-29 16:59:11 +05:30
Akash Yadav 5521bb37b8 feat: add preference to switch UI mode 2022-12-29 16:08:21 +05:30
Akash Yadav a18d857268 feat: add preference to choose color schemes 2022-12-25 13:08:07 +05:30
Akash Yadav 29860ad3a7 feat: update default AndroidIDE theme 2022-12-24 15:05:35 +05:30
deepkrg17 1a5c552a4d Added AnalogClockAdapter 2022-12-22 10:41:24 +05:30