Skip to content

Commit 641a26f

Browse files
author
Rustam Zaitov
committed
Normalize all the line endings
1 parent e050073 commit 641a26f

File tree

75 files changed

+3930
-3930
lines changed

Some content is hidden

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

75 files changed

+3930
-3930
lines changed

XAMLSamples/XamlSamples.sln

Lines changed: 235 additions & 235 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +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 you 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");
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 you 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");
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
using System;
2-
3-
using Android.App;
4-
using Android.Content;
5-
using Android.Content.PM;
6-
using Android.Runtime;
7-
using Android.Views;
8-
using Android.Widget;
9-
using Android.OS;
10-
11-
using Xamarin.Forms.Platform.Android;
12-
13-
namespace XamlSamples.Droid
14-
{
15-
[Activity(Label = "XamlSamples", Icon = "@drawable/icon", MainLauncher = true,
16-
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
17-
public class MainActivity :
18-
global::Xamarin.Forms.Platform.Android.FormsApplicationActivity // superclass new in 1.3
19-
{
20-
protected override void OnCreate(Bundle bundle)
21-
{
22-
base.OnCreate(bundle);
23-
24-
global::Xamarin.Forms.Forms.Init(this, bundle);
25-
26-
LoadApplication(new App()); // method is new in 1.3
27-
}
28-
}
29-
}
30-
1+
using System;
2+
3+
using Android.App;
4+
using Android.Content;
5+
using Android.Content.PM;
6+
using Android.Runtime;
7+
using Android.Views;
8+
using Android.Widget;
9+
using Android.OS;
10+
11+
using Xamarin.Forms.Platform.Android;
12+
13+
namespace XamlSamples.Droid
14+
{
15+
[Activity(Label = "XamlSamples", Icon = "@drawable/icon", MainLauncher = true,
16+
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
17+
public class MainActivity :
18+
global::Xamarin.Forms.Platform.Android.FormsApplicationActivity // superclass new in 1.3
19+
{
20+
protected override void OnCreate(Bundle bundle)
21+
{
22+
base.OnCreate(bundle);
23+
24+
global::Xamarin.Forms.Forms.Init(this, bundle);
25+
26+
LoadApplication(new App()); // method is new in 1.3
27+
}
28+
}
29+
}
30+
Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
3-
using System.Runtime.InteropServices;
4-
using Android.App;
5-
6-
// General Information about an assembly is controlled through the following
7-
// set of attributes. Change these attribute values to modify the information
8-
// associated with an assembly.
9-
[assembly: AssemblyTitle("XamlSamples.Android")]
10-
[assembly: AssemblyDescription("")]
11-
[assembly: AssemblyConfiguration("")]
12-
[assembly: AssemblyCompany("")]
13-
[assembly: AssemblyProduct("XamlSamples.Android")]
14-
[assembly: AssemblyCopyright("Copyright © 2014")]
15-
[assembly: AssemblyTrademark("")]
16-
[assembly: AssemblyCulture("")]
17-
[assembly: ComVisible(false)]
18-
19-
// Version information for an assembly consists of the following four values:
20-
//
21-
// Major Version
22-
// Minor Version
23-
// Build Number
24-
// Revision
25-
//
26-
// You can specify all the values or you can default the Build and Revision Numbers
27-
// by using the '*' as shown below:
28-
// [assembly: AssemblyVersion("1.0.*")]
29-
[assembly: AssemblyVersion("1.0.0.0")]
30-
[assembly: AssemblyFileVersion("1.0.0.0")]
31-
32-
// Add some common permissions, these can be removed if not needed
33-
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34-
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
using Android.App;
5+
6+
// General Information about an assembly is controlled through the following
7+
// set of attributes. Change these attribute values to modify the information
8+
// associated with an assembly.
9+
[assembly: AssemblyTitle("XamlSamples.Android")]
10+
[assembly: AssemblyDescription("")]
11+
[assembly: AssemblyConfiguration("")]
12+
[assembly: AssemblyCompany("")]
13+
[assembly: AssemblyProduct("XamlSamples.Android")]
14+
[assembly: AssemblyCopyright("Copyright © 2014")]
15+
[assembly: AssemblyTrademark("")]
16+
[assembly: AssemblyCulture("")]
17+
[assembly: ComVisible(false)]
18+
19+
// Version information for an assembly consists of the following four values:
20+
//
21+
// Major Version
22+
// Minor Version
23+
// Build Number
24+
// Revision
25+
//
26+
// You can specify all the values or you can default the Build and Revision Numbers
27+
// by using the '*' as shown below:
28+
// [assembly: AssemblyVersion("1.0.*")]
29+
[assembly: AssemblyVersion("1.0.0.0")]
30+
[assembly: AssemblyFileVersion("1.0.0.0")]
31+
32+
// Add some common permissions, these can be removed if not needed
33+
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34+
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]

0 commit comments

Comments
 (0)