Commit Graph

8 Commits

Author SHA1 Message Date
Akash Yadav 8c878a0d02 fix: use MaterialCardView to clip children onSwipeRevealProgress 2024-05-18 01:35:18 +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
Akash Yadav de9655c43f fix: log exception to IDE logs while executing code actions 2023-03-26 22:12:59 +05:30
Akash Yadav acb7042a20 feat: add support for more tree-sitter query predicates
#match?
#not-match?
#any-of?
2023-02-28 21:07:57 +05:30
Akash Yadav fdd747e5dc chore: update code style to GoogleStyle 2023-02-25 16:52:38 +05:30
Akash Yadav 3a22124873 Ported Javac 11 for Android
Wrote Language Server API for AndroidIDE
Implemented the java language server in the IDE itself
2022-01-14 20:45:32 +05:30
Akash Yadav 119eb169f1 Use ViewFlipper instead of ViewPager2 for editor fragments 2022-01-07 22:12:22 +05:30
Akash Yadav 9a2c309d41 Removed attribute editor 2021-12-19 21:48:56 +05:30