forked from g0dpain/ZXing.Net.Mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
attila.zabolai
committed
Aug 21, 2022
1 parent
7747bc7
commit 76c2245
Showing
4 changed files
with
32 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 9 additions & 8 deletions
17
ZXing.Net.Maui/Resources/layout/zxingscanneractivitylayout.axml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<FrameLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="@android:color/transparent"> | ||
<FrameLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1" | ||
android:id="@+id/contentFrame" | ||
android:minWidth="25px" | ||
android:minHeight="25px" /> | ||
<FrameLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1" | ||
android:id="@+id/contentFrame" | ||
android:minWidth="25px" | ||
android:minHeight="25px" /> | ||
</FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net6.0-android;</TargetFrameworks> | ||
<UseMaui>true</UseMaui> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net6.0-android;</TargetFrameworks> | ||
<UseMaui>true</UseMaui> | ||
<UseMauiEssentials>true</UseMauiEssentials> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="ZXing.Net" Version="0.16.8" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="ZXing.Net" Version="0.16.8" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'"> | ||
<PackageReference Include="FastAndroidCamera"> | ||
<Version>2.0.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="Xamarin.AndroidX.AppCompat"> | ||
<Version>1.4.2.1</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'"> | ||
<PackageReference Include="FastAndroidCamera"> | ||
<Version>2.0.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="Xamarin.AndroidX.AppCompat"> | ||
<Version>1.4.2.1</Version> | ||
</PackageReference> | ||
<AndroidResource Include="Resources\layout\*.axml" /> | ||
</ItemGroup> | ||
|
||
</Project> |