![]() ![]() This method is simple and reasonable as it gives the user a flexible choice on what font they want to use. Here’s a sample code of SplashActivity to get the idea of showing a Dialog. Remember to store the chosen value in some form of persistent storage, as you will require to use this value for all sorts of things later. This can be done either on the first startup of your app, or through a settings screen. The most obvious solution is to just give the user a choice to choose between the two fonts. Only by knowing that, we can do further operations such as rendering the correct version of the font on the device’s screen. ![]() The first step is figuring out how to find out which font the user has installed on their device. Hence, I took the liberty of listing down some of the methods I have uncovered to handle both fonts in your app. ![]() As we’re making a shift towards Unicode standards, we definitely cannot ignore the older devices, when there are workarounds for it. If you ever have developed app targeted only for Burmese users, you will be no stranger to the struggle of managing your UI and database to handle both Zawgyi and Unicode font accurately. Managing Zawgyi/Unicode in your Android App ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |