-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
11 new themes based on material color #16
Conversation
very nice, how does it behave with the tablet? Is typing optimized there too? Can you send some more screenshots from the tablet? |
@BlackyHawky You did a great job, thank you. |
@odmfl Thanks a lot for your feedback. |
@BlackyHawky really excellent, finally a good user experience even on the tablet. I tested a test apk with your commits, your themes work fine with key borders, without borders they should be changed. If you can you could also make some modified dark theme. In addition to custom themes, two “material you” themes (light and dark) compatible with A12 and A13 devices would be great |
@BlackyHawky as far as the emojis frequency are concerned, in my opinion that commit is not needed, the behavior is good the default one, only the emoji search needs to be improved by expanding the search to other languages |
@RHJihan : Now, with my last commit, color of navigation bar follow background color of holo, light and dark theme properly. About the preference Indeed, I confirm the main bug when selecting the keyboard background color when Moreover, after choosing |
@BlackyHawky, the Navigation bar color is still problematic when |
@odmfl : I suspected it. So I'm thinking of removing this change. Too bad because I found this function very cool. |
@RHJihan : as mentionned by @odmfl in this PR everything works correctly, except in the automatic theme. |
The "follow the system" theme needs to be redone. There is probably something wrong there. Also I am self taught I am not a professional developer. Maybe redoing that “follow the system” theme might fix itself. In practice, "follow the system" and "follow system border", like this Evervolv/android_packages_inputmethods_LatinIME@e4d3e02 |
@BlackyHawky, seems like |
@odmfl : As discussed yesterday, I've removed the "Added emoji usage frequency support" feature. |
For a better experience with new themes, take into account the last commit "Adjustment of some values for keyboard rows + split number row.
I'm waiting your feedback. |
Number Row is not separated from my build when |
@RHJihan : I'll look that ; I'm suprised cause your build seems to be correct. For AZERTY + QWERTY + QWERTZ with french, english & german language everything works fine. |
@RHJihan : I implemented your #18 in my builds and everything works fine in portrait and landscape mode. |
yes! Everything works fine now. Though now I have to change the keyWidth for bn_BD to match with the other layouts. |
But I am a little bit concerned about the key size. Could you please look at this? It seems nicer to me. https://github.com/Helium314/openboard/blob/9b7ad63d172c81d29b3a4aa91e3f1959aaaa013e/app/src/main/res/values/config.xml#L33-L34 |
For information : this is done intentionally in order to have a real difference between the popups of the letters and the popups of the hints/suggestions panel. I will not be objective if I give my opinion since I created these themes so give me feedback if it is really necessary to modify the shadows. |
That much shadow seems not eye soothing to me. The popup shadow on the Light theme and on Gboard is subtle too. |
Light theme isn't modified so this is normal that shadow is subtle or rather non-existent, because it's a shadow simulation. |
A big and rather noticeable shadow doesn't quite sit well with me aesthetically. My suggestion is to go for a more subtle and smaller shadow instead. Just to clarify, I'm not suggesting that we directly copy Gboard, but rather, I'd like to emphasize the beauty of using a more understated shadow. It can create a sleek and polished look without being overly distracting. Gboard is a good example for it. Another thing— is the width of popup is relatively small for a single character? existing shadow looks good on popup with multiple characters, but on with a single character. |
I'm disappointed that this little detail doesn't suit you aesthetically. What you describe only appears if you have the "Popup on keypress" setting enabled and only for keys with a single character. Shadows are handled by "morekey_shadow_*" files. If there is another and better solution to manage the shadows of these popups, I'm interested because I don't have sufficient knowledge. About the width of the popup, this is not a bug; this only appears if the "Popup on keypress" setting is enabled again. |
This is a huge PR (300 files), and it seems to change every day or so, which makes it really hard to review. Additionally it seems to contain changes unrelated to the addition of themes. Also, why is this PR completely ignoring the possiblity of setting theme colors using what is currently in the user theme? |
Indeed, I was very hesitant to post this PR because I knew that the number of files would be problematic. Also, I unashamedly admit that it was my lack of knowledge that caused other commits to slip into this PR and I apologize for that. I confirm that the user always has the possibility of using the colors of his choice; this PR was posted after your commit cdabf65. Currently, no changes are expected. |
Ah, I see you started this PR from the main branch... Not sure how to best disentangle this.
Sorry, it seems my question was unclear: I would like to know why the new themes do not make use of the possibility to set custom colors, as it's done here: |
I know the solution : close this PR, create a new branch "in my repository" (I forgot to do this at the beginning) and create a new PR from this branch.
Of course ; easy to do.
I understand and think you are right. This would avoid adding and/or modifying 300 files. We need to improve this part of code instead. I don't see any harm in you closing this PR. |
I adjusted the theming a bit, now the colors are set in I converted the PR to a draft, because I think keeping it open as long as not everything is implemented could serve as a reminder. Feel free to close it if you think otherwise. |
### For information ### This PR was not closed because it was not functional but because Helium314 is working on improving themes whose colors are defined by the user. However, you can always take inspiration from these predefined themes that I leave available in my Repository. Thanks to Hélium314 for his very good work on this topic. |
thanks for these themes, I wanted to tell you that with the changes made to the main branch, now in your themes the navbar is broken, from different colors |
The current state of custom themes:
Possible extensions:
|
@BlackyHawky, please consider opening a PR for the Adjustment of some values for keyboard rows + split number row. This was a good commit. |
@odmfl : you're welcome.
@Helium314 : Impressive work done on this subject. 💪 Thanks a lot!
@RHJihan : #27 created for Split number row. 👍 |
Great, thanks! No need for soon though. I really think the "base the custom themes on a purely white theme to allow full color range" part needs to be done first, because doing this after implementing your themes will change the resulting colors. |
@BlackyHawky did you already start working on this? If not, I will do the "(a border and a no border) theme where all keys/buttons have a white background, and a bit darker when pressed" part. |
@Helium314 I finished no border base theme. (I work nights at the moment so I take a little time.) For information: before making a new PR, I will make commits in my repository for you to analyze all of this. Is it okay for you? No border base theme here : f8694bd
|
No problem, take your time. Meanwhile I'll adjust some custom-color related things, mostly in
Actually it would be easier to start a draft PR. Then we could discuss code / plans / ideas / issues there.
Thanks, this looks good!
Shadows and more keys shape should be the same as for light theme, at least initially. |
Everything is fixed in this commit: d40828e
Can you tell me if this suits you? For my part, I no longer see any error. |
I agree, this is definitely good now. |
You can consider this PR permanently closed. |
I created 11 predefined themes based on material colors.
These themes work with or without key borders.
Thanks to @odmfl, the color of the navigation bar follows the color of the keyboard background (everything works correctly, except in the automatic theme). #737
These commits are tested on Samsung Tablet with Android 13 and on Huawei phone with Android 10.
Screenshots of some themes below.