I saw phonegap-mobile-accessibility but it gives me error and app is not starting.
is there is any way to disable user selected font size and zoom preference?
This is how it should look.
This is one user send me.
looks like he set custom font size or zoom in system level
I reproduced this on my phone just by increasing font size.
UI is responsive it should scale without any issues.
I don’t know how to approach this problem
I try
package io.ionic.starter;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import com.getcapacitor.BridgeActivity;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView mWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = mWebView.getSettings();
webSettings.setTextZoom(100);
}
}
Throws an error ““R”” not found.
1 post - 1 participant