Greenstand / treetracker-android

Treetracker is Greenstands open source Android app to track and verify reforestation efforts globally. NEW DEVELOPERS: Please refer to the README for is issue milestones and topics! https://github.com/Greenstand/treetracker-android/blob/master/README.md
GNU Affero General Public License v3.0
91 stars 88 forks source link

Hide suggestions and other tools from keyboard header #736

Open ZavenArra opened 2 years ago

ZavenArra commented 2 years ago

The text keyboard is supplying suggestions and other tools currently. We do not require these tools and they should be hidden from the keyboard on all screens in this application

Screenshot_20220107_145205_org greenstand android TreeTracker test

Elforama commented 2 years ago

@ZavenArra I've looked at solutions for this online. There is no solution that seemed to fix this on all phones since all phones use different keyboard. Of the partial solutions I found, they all require the old XML to work. Compose doesn't seem to support the partial solutions.

ZavenArra commented 2 years ago

Ah I see. It's part of the specific implementation of Android on a given device or manufacturer. Interesting.

ZavenArra commented 2 years ago

Do you think we could file this as a feature request against compose and see if they are willing to work it out?

peakvalleytech commented 2 years ago

Having you tried setting the input method type on the textfield?

On another, I don't think it is good UX to have the keyboard block the textfields. User should be able to see what they are typing. I suggest we find a way to have the UI resize itself when the keyboard is shown.

Elforama commented 2 years ago

We've tried that, but if you'd like to take a crack at fixing this issue feel free to let us know and I'll assign it to you.