Repository navigation
Commit 92c01b7
ADFA-1179: Display editor toolbar menu items in a scroll view (#322)
* WIP(ADFA-307): create custom toolbar
* fix (ADFA-307): remove duplicate menu items
* feat(ADFA-307): Add arrows to the start and end of the scrollview
* feat(ADFA-307): Replace extended toolbar with custom toolbar
* feat(ADFA-1179): Remove app name from editor toolbar
Remove "Code on the Go" from editor toolbar and display just the current project's name
* feat(ADFA-1179): Replace double arrows with single arrows
* feat(ADFA-1179): Handle find action
* Show a dialog when "Find" menu is clicked
* Implement "FindInFile" and "FindInProject" actions
* fix(ADFA-1179): UI fixes in toolbar menu
* refactor(ADFA-1179): Remove hardcoded text
* refactor(ADFA-1179): Remove unnecessary context addition
* refactor(ADFA-1179): Rename variable name
Change "shouldMarkInvisible" to "shouldHideFindInFileAction"
* refactor(ADFA-1179): Remove redundant variable declaration
* refactor(ADFA-1179): Remove usages of ExtendedMenuToolbar
* fix(ADFA-1179): Set image color tint based on device theme
* refactor(ADFA-1179): Reorder editor toolbar menu items
* feat(ADFA-1179): Update menu items when app state changes
* fix(ADFA-1179): Always show chevrons
* fix(ADFA-1179): Remove end margin from last action item
* fix(ADFA-1179): Use cancel build icon while build is in progress only for quick run action
Both QuickRunAction and DebugAction implement AbstractCancellableRunAction which sets the action item icon to "stop_daemons" icon. This is not needed for DebugAction.
* fix(ADFA-1179): Disable debug action when build is in progress
* feat(ADFA-1179): Remove git icons from toolbar
* fix(ADFA-1179): Resolve issue with project name's text color in dark mode
* refactor(ADFA-1179): Remove manual action execution
* refactor(ADFA-1179): Replace findViewById with view binding
* refactor(ADFA-1179): Use current theme attributes
* fix(ADFA-1179): Prevent project title from overlapping toolbar actions
* fix(ADFA-1179): Disable find action if build is in progress
* fix(ADFA-1179): Execute actions only when item is enabled
* fix(ADFA-1179): Fix issue with quick run action
* refactor(ADFA-1179): Rename find action item location
* refactor(ADFA-1179): Use theme-defined colors
* fix: extract action IDs to constants
Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
---------
Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
Co-authored-by: Akash Yadav <akashyadav@appdevforall.org>1 parent 7910fa9 commit 92c01b7
26 files changed
Lines changed: 2558 additions & 2446 deletions
File tree
- actions/src/main/java/com/itsaky/androidide/actions
- app/src/main
- java/com/itsaky/androidide
- actions
- build
- etc
- activities/editor
- fragments
- utils
- viewmodel
- res/layout
- common/src/main
- java/com/itsaky/androidide/ui
- res/layout
- resources/src/main/res
- drawable
- values
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
Lines changed: 24 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
34 | 32 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
42 | 40 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments