@fdroidorg now packages Trime, an IME (input method engine) used to type Chinese.
In spite of being a pretty nifty tool, it does not work out of the box yet. I opened a topic on F-Droid forum to provide basic guidance and share my experience. Do not hesitate to share yours too: https://forum.f-droid.org/t/typing-chinese-with-trime/5961