-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add caps lock indicator #692
Conversation
In my opinion, this icon does not fit other themes than Holo. What do you think about something like this? no shift - regular icon And for the Holo style, maybe add a line under the arrow when caps lock is pressed 🤔 |
Looks good. My idea was to change the icon only after pressing Caps Lock + adding an accent. Pressing Shift would only add an accent, not change the icon. I like the accent when I press the Shift key. |
I understand. In Gboard, the icon changed when I pressed Caps Lock. I thought it would be easy to do the same in HeliBoard. |
For now, I don't have a good idea for the third icon. Maybe add a second ^ above the current one 🤔 I think two icons would also be sufficient. Just like in Gboard. For most, I think it would be intuitive. |
Perhaps you could use a simple arrow for Caps Lock mode while keeping the bottom bar? Quick question: will these icons be rounded for the Rounded style? |
Yes. I think two icons would be more intuitive. I'm a little confused when I see three icons when switching. Moreover, each icon has become different. In my opinion, this is unnecessary complication :/ It was enough to add an icon for caps lock and leave the rest as they were. |
Looks nice. I wonder what the keyboard would look like with the changes I proposed 🤔 |
Thanks. I like my option a bit more, but both are cool. |
Hi, @codokie can u try my idea. |
Finally some basic review: But I have to say I'm not happy with the icons, mainly I just don't like the double arrows.
(Holo looks mostly fine, but the width and position change of the arrow when locking is somewhat weird) |
# Conflicts: # app/src/main/java/helium314/keyboard/keyboard/internal/KeyboardIconsSet.java # app/src/main/java/helium314/keyboard/keyboard/internal/keyboard_parser/KeyboardParser.kt
Using Android defaults is certainly a good reason to do it like that, thank for noticing this.
Thanks, though you missed the holo shift icon (it's fine in app, I already checked) |
I made some changes to the different shift states icons.

(note: the color of the theme is used in shifted/caps lock states, below I used the Brown color but in practice it can be whatever color is chosen in the theme settings)
unshifted state:
[material]
[holo] (unchanged)

shifted state:

[material]
[holo] (unchaged)

caps lock:

[material]
[holo]

Credit to Google/Material Icons for the base icons, and @Uranusek for the ideas for the icons
Rounded theme has the same icons as the material theme, only that the icons are slightly rounded
(fixes #683)