I creat a gluon project use multi view project(FXML) ,then I just modify the buttons character to chinese . the project run under desktop it's no problem but using android->android to deploy an apk and when install on android phone or andorid simulator and run it all of the chinese charactor is not dispear!
相关问题
- Gluon Mobile ScrollPane Optimization
- How to request permissions during run time when us
- gluon android splash screen
- Schedule a Task in Android using ALARM_SERVICE ser
- mobileapplication.mobileevent BACK_BUTTON_PRESSED
相关文章
- mobileapplication.mobileevent BACK_BUTTON_PRESSED
- How to set request orientation in runtime?
- create a polyline in gluon mapLayer
- Could not resolve all dependencies for configurati
- How can I use a JavaFX activity in an Android proj
- Play a video using JavaFX on Raspberry Pi
- compile and build gluon mobile app for desktop
- getPublicStorage(“Pictures”) lists no files
By default Gluon Mobile uses Roboto font, which doesn't include Chinese characters.
One easy way you can solve this issue is by setting any of the Android system fonts that do include them.
Using
Font.getFamilies()
on my Android device I discovered this one:Noto Sans CJK SC Regular
.So you can easily add this to the view's css file:
That should work.