tsiemens / pathfinder-toolkit

A Pathfinder RPG Android app, for managing characters and parties
22 stars 6 forks source link

Remove field focus after editing combat stats fields and others #25

Closed samcorcoran closed 10 years ago

samcorcoran commented 10 years ago

On fields such as those on the 'Combat Stats' fragment (but generally throughout the UI, touching an EditText field opens the on-screen keyboard and allows editing. After finishing or cancelling the editing, the keyboard disappears but the underline-highlighting of the field (and the flashing cursor) remain present.

What would look best is if the ui reverted to how it looked when the fragment is first opened: no focus and no cursor present.

I attempted to use the clearFocus function to remove focus from a field after editing, however this caused the on-screen keyboard to not disappear. I moved on to other things, but I think solving this small problem would be beneficial to the general aesthetic of the app, if someone knows of a good way to do it.