Skip to content

Commit d14d58c

Browse files
v20.1.0.47
1 parent b36f16d commit d14d58c

File tree

11,065 files changed

+2548872
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,065 files changed

+2548872
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Any raw assets you want to be deployed with your application can be placed in
2+
this directory (and child directories) and given a Build Action of "AndroidAsset".
3+
4+
These files will be deployed with your package and will be accessible using Android's
5+
AssetManager, like this:
6+
7+
public class ReadAsset : Activity
8+
{
9+
protected override void OnCreate (Bundle bundle)
10+
{
11+
base.OnCreate (bundle);
12+
13+
InputStream input = Assets.Open ("my_asset.txt");
14+
}
15+
}
16+
17+
Additionally, some Android functions will automatically load asset files:
18+
19+
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
2.56 KB
Loading
Binary file not shown.
5.39 KB
Binary file not shown.

Android/SampleBrowser/Assets/Ban1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"BackgroundColor":"rgb(255,255,255)","IsVisible":true,"shapes":[{"Color":"rgb(255,255,255)","FontSize":30,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":56.40362,"width":38.15534,"x":58.8349533,"y":24.0620956},"Text":"Text","Thickness":5,"Type":"rectangle"},{"Color":"rgb(255,255,255)","FontSize":30,"Mode":"fill","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":48.9003868,"width":31.9417477,"x":62.0388336,"y":27.943079},"Text":"Text","Thickness":5,"Type":"rectangle"},{"Color":"rgb(251,176,59)","FontSize":61.5263939,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":8.408797,"width":22.4271851,"x":67.66991,"y":35.3169479},"Text":"COFFEE","Type":"text"},{"Color":"rgb(0,0,0)","FontSize":57.3338852,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":7.244502,"width":15.6310682,"x":70,"y":44.7606735},"Text":" SHOP","Type":"text"},{"Color":"rgb(0,0,0)","FontSize":50.99408,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":6.856404,"width":22.0388355,"x":68.2524261,"y":53.6869354},"Text":"OPENING","Type":"text"},{"Color":"rgb(0,0,0)","FontSize":50.3740425,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":6.98576975,"width":14.07767,"x":71.65048,"y":62.87193},"Text":"SOON","Type":"text"},{"Color":"rgb(255,255,255)","FontSize":30.0548286,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":4.139715,"width":15.3398056,"x":71.35922,"y":84.86417},"Text":"","Type":"text"}]}

Android/SampleBrowser/Assets/Ban2.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"BackgroundColor":"rgb(255,255,255)","IsVisible":true,"shapes":[{"Color":"rgb(255,255,255)","FontSize":30,"Mode":"fill","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":74.12678,"width":54.6601944,"x":22.4271851,"y":13.4540749},"Text":"Text","Thickness":5,"Type":"circle"},{"Color":"rgb(132,115,43)","FontSize":63.2510719,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":8.796895,"width":38.6407776,"x":31.7475719,"y":33.24709},"Text":"Cheap & Easy","Type":"text"},{"Color":"rgb(43,45,66)","FontSize":129.3876,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":17.8525219,"width":50.67961,"x":26.0194168,"y":44.7606735},"Text":"RECIPES","Type":"text"},{"Color":"rgb(237,28,36)","FontSize":57.7272453,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":7.89133263,"width":32.8155327,"x":35.63107,"y":64.424324},"Text":"FOR DINNER","Type":"text"}]}

Android/SampleBrowser/Assets/Ban3.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"BackgroundColor":"rgb(255,255,255)","IsVisible":true,"shapes":[{"Color":"rgb(255,255,255)","FontSize":71.33393,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":9.702458,"width":35.4368935,"x":3.883495,"y":18.1112556},"Text":"Planning to","Type":"text"},{"Color":"rgb(255,255,255)","FontSize":66.5325546,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":9.055628,"width":47.76699,"x":3.39805818,"y":30.0129375},"Text":"develop a cross-","Type":"text"},{"Color":"rgb(255,255,255)","FontSize":70.3903656,"Mode":"stroke","Points":[{"x":0,"y":0},{"x":0,"y":0}],"RatioFrame":{"height":9.702458,"width":43.2038841,"x":3.592233,"y":41.0090561},"Text":"platform app?","Type":"text"}]}

Android/SampleBrowser/Assets/Book.png

2.1 KB
Loading
240 Bytes
Binary file not shown.
358 KB
Binary file not shown.

0 commit comments

Comments
 (0)