1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to use custom font in Image Asset in Android Studio?

Discussion in 'Android Development' started by Swapatel06, Sep 12, 2019.

  1. Swapatel06

    Swapatel06 Lurker
    Thread Starter

    I was trying to change the application icon of my project. I figured out i had to use Image Asset to create it. I chose the background image and while i chose the foreground to have text. I couldn't use a custom font in it. Any solutions?

    [​IMG]

    I tried to check the xml files created by it after clicking OK.. but couldn't find any font-family attribute there. Also tried to search how to add custom fonts to source asset but with no success I only found the answers to add them to the project instead of Image Asset.
     


Loading...

Share This Page

Loading...