Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 147c2f8

Browse filesBrowse files
committed
Fix build namespace issues
1 parent 26104ec commit 147c2f8
Copy full SHA for 147c2f8

File tree

Expand file treeCollapse file tree

4 files changed

+12
-6
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+12
-6
lines changed

‎src/SampleApp/MainActivity.cs

Copy file name to clipboardExpand all lines: src/SampleApp/MainActivity.cs
+5-6Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
using Android.Support.V4.View;
99
using Android.Support.V7.App;
1010
using Android.Views;
11-
using Android.Widget;
12-
using Eightbitlab.Com.Blurview;
13-
using Java.Lang;
14-
//using Com.Eightbitlab.Supportrenderscriptblur;
15-
using BlurView = Eightbitlab.Com.Blurview.BlurView;
11+
using Android.Widget;
12+
using Java.Lang;
13+
using Com.EightbitLab.BlurViewBinding;
14+
//using Com.EightbitLab.SupportRenderScriptBlurBinding;
1615

1716
// Ported from:
1817
// https://github.com/Dimezis/BlurView/blob/master/app/src/main/java/com/eightbitlab/blurview_sample/MainActivity.java
@@ -60,7 +59,7 @@ void SetupBlurView()
6059

6160
var topViewSettings = topBlurView.SetupWith(root)
6261
.WindowBackground(windowBackground)
63-
.BlurAlgorithm(new RenderScriptBlur(this))
62+
.BlurAlgorithm(new RenderScriptBlur(this)) // SupportRenderScriptBlur
6463
.BlurRadius(radius);
6564

6665

‎src/Xamarin.BlurView.SupportRenderScriptBlur/Transforms/Metadata.xml

Copy file name to clipboardExpand all lines: src/Xamarin.BlurView.SupportRenderScriptBlur/Transforms/Metadata.xml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
77
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
88
-->
9+
10+
<attr path="/api/package[@name='com.eightbitlab.supportrenderscriptblur']" name="managedName">Com.EightbitLab.SupportRenderScriptBlurBinding</attr>
11+
912
</metadata>

‎src/Xamarin.BlurView/Transforms/Metadata.xml

Copy file name to clipboardExpand all lines: src/Xamarin.BlurView/Transforms/Metadata.xml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
This sample removes the method: android.support.v4.content.CursorLoader.loadInBackground:
77
<remove-node path="/api/package[@name='android.support.v4.content']/class[@name='CursorLoader']/method[@name='loadInBackground']" />
88
-->
9+
10+
<attr path="/api/package[@name='eightbitlab.com.blurview']" name="managedName">Com.EightbitLab.BlurViewBinding</attr>
11+
912
</metadata>

‎src/Xamarin.BlurView/Xamarin.BlurView.csproj

Copy file name to clipboardExpand all lines: src/Xamarin.BlurView/Xamarin.BlurView.csproj
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<Reference Include="Mono.Android" />
3939
<Reference Include="System" />
4040
<Reference Include="System.Core" />
41+
<Reference Include="System.Xml" />
4142
</ItemGroup>
4243
<ItemGroup>
4344
<Compile Include="Properties\AssemblyInfo.cs" />

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.