Commit Graph

2065 Commits

Author SHA1 Message Date
github-actions[bot] 7e579ba216 chore: update crowdin contributors table (#671)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2022-12-19 14:38:34 +05:30
Akash Yadav 5f7b1fb0f0 feat(uidesigner): provide generated XML to EditorActivity when user exists UI Designer 2022-12-19 14:36:25 +05:30
Akash Yadav d19557e973 feat(uidesigner): add action to open view hierarchy layout 2022-12-19 13:28:44 +05:30
Akash Yadav a0311c3098 fix(uidesigner): end tag element is not indented in generated XML 2022-12-19 13:21:30 +05:30
Akash Yadav 7398b58d92 fix(uidesigner): only one line is copied in ShowXmlActivity 2022-12-19 13:18:28 +05:30
Akash Yadav 3f97b7cf6c fix(uidesigner): incorrect child count computation in hierarchy layout 2022-12-19 13:16:24 +05:30
Akash Yadav a042b82579 feat(uidesigner): implement copy function in ShowXmlActivity 2022-12-19 12:58:11 +05:30
Akash Yadav 5fb200aada feat(uidesigner): add view hierarchy layout in UI designer 2022-12-19 12:58:11 +05:30
Akash Yadav a959f78d38 feat(uidesigner): use navigation component to navigate between fragments 2022-12-19 12:58:10 +05:30
Akash Yadav 96e0dad035 refactor(xml-inflater): rename adapter classes 2022-12-19 07:59:58 +05:30
Akash Yadav 429421f298 fix: test compilation issue 2022-12-19 00:02:09 +05:30
Akash Yadav dbd0e5b4ba feat: option to add attributes to an inflated view 2022-12-18 23:35:32 +05:30
Akash Yadav 97193ca11d feat: use attribute handlers to apply attributes in IViewAdapter 2022-12-18 18:58:07 +05:30
Akash Yadav 341931c902 feat: include view module namespace in IViewAdapter 2022-12-18 11:08:26 +05:30
Akash Yadav 6caadebd91 feat: include view superclass hierarchy in IViewAdapter 2022-12-17 23:44:14 +05:30
Akash Yadav 8a683d17bf feat: center main activity actions 2022-12-17 21:59:20 +05:30
Akash Yadav c4087aac50 refactor: move view XML generation logic from ShowXmlAction to ViewToXml 2022-12-17 21:59:19 +05:30
Akash Yadav 0bc184fb8f feat: hide 'Show XML' action if not views has been inflated 2022-12-17 21:59:18 +05:30
Akash Yadav d8843ce8c8 fix: inconsistent status bar color 2022-12-17 21:59:18 +05:30
Akash Yadav 8aab8bf3dc fix: navigation bar color is not changed in UI designer 2022-12-17 21:59:17 +05:30
Akash Yadav 4f33807e8a feat: do not create XMLLanguage reflectively in UI Designer 2022-12-17 21:59:16 +05:30
Akash Yadav 911a944ca9 refactor: move editor language implementations to separate module 2022-12-17 21:59:16 +05:30
dependabot[bot] a8c6c0d677 Merge pull request #664 from AndroidIDEOfficial/dependabot/gradle/main/org.slf4j-slf4j-api-2.0.6 2022-12-17 15:56:41 +00:00
dependabot[bot] cd8b096839 Merge pull request #665 from AndroidIDEOfficial/dependabot/gradle/main/com.github.javaparser-javaparser-symbol-solver-core-3.24.9 2022-12-17 15:56:31 +00:00
dependabot[bot] e9774d8805 chore(deps): bump javaparser-symbol-solver-core from 3.24.8 to 3.24.9
Bumps [javaparser-symbol-solver-core](https://github.com/javaparser/javaparser) from 3.24.8 to 3.24.9.
- [Release notes](https://github.com/javaparser/javaparser/releases)
- [Changelog](https://github.com/javaparser/javaparser/blob/master/changelog.md)
- [Commits](https://github.com/javaparser/javaparser/compare/javaparser-parent-3.24.8...javaparser-parent-3.24.9)

---
updated-dependencies:
- dependency-name: com.github.javaparser:javaparser-symbol-solver-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:14:47 +00:00
dependabot[bot] 1149d24f92 chore(deps): bump slf4j-api from 2.0.5 to 2.0.6
Bumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.5...v_2.0.6)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:14:30 +00:00
Akash Yadav 1ff2658d1f feat: add option to see generated XML directly from UI Designer 2022-12-11 19:08:56 +05:30
Akash Yadav 1cb6c1a005 feat: API to create instances of IDEEditor from other modules 2022-12-11 16:39:17 +05:30
Akash Yadav 2a5eb9c013 added tooling-api-impl test for AGP 7.4.0-rc01 2022-12-11 15:55:21 +05:30
Akash Yadav b086283f56 feat: updated AGP to version 7.4.0-rc01 2022-12-11 15:52:17 +05:30
dependabot[bot] ec2db1322b chore(deps): bump fragment-ktx from 1.5.4 to 1.5.5 (#662)
Bumps fragment-ktx from 1.5.4 to 1.5.5.

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-11 09:54:35 +05:30
Akash Yadav eab7ca9d95 feat: update location ids for ActionItem
Action ID for UI_DESIGNER_TOOLBAR and EDITOR_TOOLBAR was same which resulted in invalid actions being shown in both activities.
2022-12-11 09:43:06 +05:30
Akash Yadav 088721d7c8 feat: collapsible widget list in UI Designer 2022-12-11 09:42:14 +05:30
Akash Yadav 06c4f67f17 fix: parent highlight state not updated on widget drop 2022-12-11 09:20:13 +05:30
Akash Yadav b4881d8d1d feat: prevent multiple touch slop computation 2022-12-11 09:20:13 +05:30
Akash Yadav 80a421cc48 fix: widget drop index is always actualDropIndex - 1 2022-12-11 09:20:12 +05:30
Akash Yadav 26e6f54645 fix: drag listener has too much sensitivity 2022-12-11 09:20:12 +05:30
Akash Yadav c25f7ab342 feat: do not set drag listener to view groups which cannot accept children 2022-12-11 09:20:11 +05:30
Akash Yadav a33862da55 fix: newly added views do not have proper foreground 2022-12-11 09:20:11 +05:30
Akash Yadav ba1d95323f fix: listeners and foreground is added again when moving views 2022-12-11 09:20:10 +05:30
github-actions[bot] 0b7bb521a8 chore: update crowdin contributors table (#661)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2022-12-10 23:06:46 +05:30
dependabot[bot] c8b6aafe67 Merge pull request #657 from AndroidIDEOfficial/dependabot/gradle/main/com.google.android.gms-oss-licenses-plugin-0.10.6 2022-12-10 17:34:53 +00:00
Akash Yadav 46300029ba feat(xml-inflater): fallback to default values in case attribute value is empty 2022-12-10 22:45:32 +05:30
Akash Yadav f14030e542 feat: add undo/redo support for view attributes 2022-12-10 22:39:18 +05:30
Akash Yadav 19d9b77c0d refactor: rename WorkspaceHierarchyHandler 2022-12-10 18:46:17 +05:30
Akash Yadav cff5d76e95 refactor: reformat code 2022-12-10 18:28:35 +05:30
Akash Yadav c7b4ad8a62 feat: permit dynamic mnc qualifier values
Values for the mnc resource qualifier (Mobile Network Code)
do not need to conform to a 3 digit value. This is a regression from
AAPT.

Context: https://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-E.212B-2018-PDF-E.pdf
2022-12-10 18:28:34 +05:30
Akash Yadav 610a13a650 refactor: resolve compilation warnings in :build-tools:aaptcompiler 2022-12-10 18:28:13 +05:30
Akash Yadav 2fcb9dd71a fix: pseudolocale nested tags
Due to an issue with ordering UnifiedSpans i.e. UnifiedSpans with lower lastChar values winning
over UnifiedSpans with higher lastChar values, nesting spans in
some cases would be processed by the PseudolocaleGenerator in the
incorrect order.
2022-12-10 18:28:12 +05:30
Akash Yadav 13d0e3bef3 refactor: move layout inflation and hierarchy change logic from workspace fragment 2022-12-09 08:55:17 +05:30