Skip to content
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

Make ExtraKeysView work on Android 5 #132

Merged
merged 1 commit into from Aug 8, 2016

Conversation

michalbednarski
Copy link
Contributor

On Android 5 ExtraKeysView shows empty (though can be swiped for TextView).

This is fixed by explicitly specifying alignment as GridLayout.FILL

I have figured out that this was fixed in Android 6 in commit
https://android.googlesource.com/platform/frameworks/base/+/6dafd87fb4174447018b044bc67818d54fab57d8%5E%21/#F0
which set default alignment to FILL if weight is nonzero

This is done by explicitly specifying alignment as GridLayout.FILL
as I have figured out that this was fixed in Android 6 in commit
https://android.googlesource.com/platform/frameworks/base/+/6dafd87fb4174447018b044bc67818d54fab57d8%5E%21/#F0
which set default alignment to FILL if weight is nonzero
@fornwall fornwall merged commit 30b05e9 into termux:master Aug 8, 2016
@fornwall
Copy link
Member

fornwall commented Aug 8, 2016

Awesome find, really nice work!

The change is in the v0.39 update of the app which should be available as an update shortly.

shrihankp pushed a commit to reisxd/termux-app that referenced this pull request Oct 20, 2022
…nment

Make ExtraKeysView work on Android 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants