Commit 1b36ef4
authored
refactor: polish app UI (#1840)
* refactor(drawable): not set default color tint, alpha and auto mirrored property
- Update copyright
- Name some icons with their default file name when created
- Remove duplicate icons
* refactor(ui): rename PrefMainActivty and PrefFragment to MainActivity and MainFragment
* refacor(ui): reorganize code tree
- Update copyright
* refactor(ui): polish user interface
- Rename ToolkitFragment to DeveloperFragment and navigate to it via toolbar menu
- Rename OtherFragment to AdvancedSettingsFragment
* refactor(ui): migrate navigation graph xml to kotlin DSL
Ref: https://developer.android.com/guide/navigation/design/kotlin-dsl
* refactor(ui): build app ui programmatically
- Setup toolbar menu programmatically
- Setup fragments via preference delegate or build manually
- Rename ProfileFragment and KeyboardFragment to ProfileSettingsFragment and KeyboardSettingsFragment
- Update copyright
* refactor(res): remove unused resources1 parent 5b311d2 commit 1b36ef4
File tree
99 files changed
+1731
-2280
lines changed- app/src/main
- java/com/osfans/trime
- data/prefs
- ime
- core
- keyboard
- ui
- common
- components
- fragments
- main
- log
- settings
- schema
- util
- res
- drawable
- layout
- values-zh-rCN
- values-zh-rTW
- values
- xml-v30
- xml
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
99 files changed
+1731
-2280
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4044 | 4044 | | |
4045 | 4045 | | |
4046 | 4046 | | |
4047 | | - | |
| 4047 | + | |
4048 | 4048 | | |
4049 | 4049 | | |
4050 | 4050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
942 | 942 | | |
943 | 943 | | |
944 | 944 | | |
945 | | - | |
| 945 | + | |
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments