Friday, January 23, 2015

Assets folder in Android Studio


In Android Studio, right-click on thefolder and navigate to the Assets Folder


On the next screen just click Finish.
It will create the assets folder in the main target source set.

ASSETS_FOLDER_PATH
contx.getResources().getAssets();
Example:
  Typeface.createFromAsset(contx.getResources().getAssets(), "SomeFont.ttc");

0 comments :

Post a Comment

 

Copyright @ 2014 Tech Tutorial .