Browse Source
Merge branch 'master' into ensure-flyout-closed
pull/7436/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
samples/ControlCatalog.Android/Assets/AboutAssets.txt
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
Any raw assets you want to be deployed with your application can be placed in |
|
|
|
this directory (and child directories) and given a Build Action of "AndroidAsset". |
|
|
|
|
|
|
|
These files will be deployed with you package and will be accessible using Android's |
|
|
|
These files will be deployed with your package and will be accessible using Android's |
|
|
|
AssetManager, like this: |
|
|
|
|
|
|
|
public class ReadAsset : Activity |
|
|
|
@ -16,4 +16,4 @@ public class ReadAsset : Activity |
|
|
|
|
|
|
|
Additionally, some Android functions will automatically load asset files: |
|
|
|
|
|
|
|
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); |
|
|
|
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); |
|
|
|
|