Skip to content

Update the version of how to add a custom view to a hole of doughtnut chart #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C488F362-1E6B-45FC-92F7-D7B58D748955}</ProjectGuid>
<ProjectGuid>{08F8C4BF-5901-4DA5-9844-B707C19ACFE8}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid>
<OutputType>Library</OutputType>
<RootNamespace>Doughtnut_CenterView.Droid</RootNamespace>
<AssemblyName>Doughtnut_CenterView.Android</AssemblyName>
<RootNamespace>Doughnut_CenterView.Droid</RootNamespace>
<AssemblyName>Doughnut_CenterView.Android</AssemblyName>
<Deterministic>True</Deterministic>
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
Expand Down Expand Up @@ -55,15 +55,15 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Syncfusion.Xamarin.Buttons">
<Version>18.3.0.42</Version>
<Version>18.4.0.34</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Xamarin.Core">
<Version>18.3.0.42</Version>
<Version>18.4.0.34</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Xamarin.SfChart">
<Version>18.3.0.42</Version>
<Version>18.4.0.34</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="4.6.0.1141" />
<PackageReference Include="Xamarin.Forms" Version="4.6.0.726" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
</ItemGroup>
<ItemGroup>
Expand All @@ -72,10 +72,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Assets\FontAwesome.otf" />
<AndroidAsset Include="Assets\FontAwesome.ttf" />
<AndroidAsset Include="Assets\Lobster-Regular.ttf" />
<AndroidAsset Include="Assets\Segoe_MDL2_Assets.ttf" />
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
<None Include="Properties\AndroidManifest.xml" />
Expand All @@ -98,15 +94,14 @@
<AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ProjectReference Include="..\Doughtnut_CenterView\Doughtnut_CenterView.csproj">
<Project>{0E05948A-8551-44CA-A444-E5EB5F498CF9}</Project>
<Name>Doughtnut_CenterView</Name>
</ProjectReference>
<Folder Include="Resources\drawable\" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\Avatar2.png" />
<ProjectReference Include="..\Doughnut_CenterView\Doughnut_CenterView.csproj">
<Project>{43F63E7D-E02F-4AD2-A227-4F97704CB2E5}</Project>
<Name>Doughnut_CenterView</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
using Android.Widget;
using Android.OS;

namespace Doughtnut_CenterView.Droid
namespace Doughnut_CenterView.Droid
{
[Activity(Label = "Doughtnut_CenterView", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize )]
[Activity(Label = "Doughnut_CenterView", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize )]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.doughtnut_centerview">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.doughnut_centerview">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
<application android:label="Doughtnut_CenterView.Android" android:theme="@style/MainTheme"></application>
<application android:label="Doughnut_CenterView.Android" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Doughtnut_CenterView.Android")]
[assembly: AssemblyTitle("Doughnut_CenterView.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Doughtnut_CenterView.Android")]
[assembly: AssemblyProduct("Doughnut_CenterView.Android")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Expand Down
Loading