Repository navigation
Working with Fonts
Garima Dhakal edited this page Jun 16, 2015
·
9 revisions
#Text Symbol Text Symbols are used to add text on the graphics layer. However, if you want to display text in other language than English, then you may have to change the font family of the text using TextSymbol.setFontFamily() method.
We can use Android Debug Builder (ADB) Tool that comes with Android SDK to communicate with the Android device. ADB is command line tool and is located in android_sdk/platform-tools/ path. In order to use ADB with a device connected over USB, you must enable USB debugging.
- Open Command Prompt and go to the ADB path.
- Start a remote shell in the device. Command: adb shell
- Change directory to /system/fonts. Command: cd /system/fonts
- View list of available fonts. Command: ls
- You can also install new fonts.
Now, you can set font family for the text using TextSymbol class. E.g. TextSymbol.setFontFamily("DroidSansFallback.ttf");
- Forums
- Web and Mobile Runtime SDKs
- AppStudio sample style guide
- Services
- Layer Services
- Geoprocessing Services
- Servers
- Data Resources
- Windows Operating System
- Enable IIS Directory Browsing
- Creating a custom WKID
- Python Help
- Sharing Between ArcGIS Online Organizations
- Resources To Learn Git
- Working-with-Fonts