-
Hi, All! Im very new to the community, im struggling to get fix font size on Android devices. The issue is that if the user selects text scaling as part of the accessibility settings it will generate the text sizes increased. I have seen some responses that indicate using PhoneGap accessibility plugin, but this was a very old solution and overkilling to add the plugin just for this case. Suggestion... Other suggestions were made for Cordova. Thanks in advanced! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
First of all, welcome! There's a feature request for this functionality here. You can follow that issue for updates. |
Beta Was this translation helpful? Give feedback.
-
Thanks @dwieeb hope i can contribute to this community! |
Beta Was this translation helpful? Give feedback.
-
Just for adding the outcome of what I did to have the fix in the meantime. Within the Bridge class, there is a initWebView function were you can set the zoom by adding the following lines: |
Beta Was this translation helpful? Give feedback.
-
Adding on to what @dchedufa said: You can call this from MainActivity without editing the capacitor source like so: (Call this method after this.init(...) in MainActivity)
|
Beta Was this translation helpful? Give feedback.
First of all, welcome!
There's a feature request for this functionality here. You can follow that issue for updates.