How to prevent android and Ios device display size chnages in xamarin?


Currently, I have applied the following code to prevent the font size changes in android it is work for font size changes but it is not working for display size changes to (low, medium, high) in some specific device. The UI text is overlapping.

public override Resources Resources
        Resources res = base.Resources;
        Configuration config = new Configuration();
        res.UpdateConfiguration(config, res.DisplayMetrics);
        return res;

Source: Xamarin.ios Questions

Categorised as Uncategorised Tagged , ,


Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us