Fix Loader project link behavior

This commit is contained in:
zhiyang7 2023-02-02 10:23:27 +08:00
parent 8fcb6e9041
commit ab67f2b233
5 changed files with 286 additions and 277 deletions

View File

@ -16,7 +16,7 @@
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass> <AndroidResgenClass>Resource</AndroidResgenClass>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk> <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion> <TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<TargetFramework>net5.0-android</TargetFramework> <TargetFramework>net5.0-android</TargetFramework>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
@ -34,12 +34,13 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime> <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AndroidLinkMode>Full</AndroidLinkMode> <AndroidLinkMode>SdkOnly</AndroidLinkMode>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk> <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<AndroidManagedSymbols>false</AndroidManagedSymbols> <AndroidManagedSymbols>false</AndroidManagedSymbols>
<AndroidUseAapt2>false</AndroidUseAapt2> <AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis> <AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis>
<AndroidDexTool>d8</AndroidDexTool> <AndroidDexTool>d8</AndroidDexTool>
<AndroidLinkSkip>BmFont;MonoGame.Framework;mscorlib;System.Core;System;System.Drawing.Common;System.Numerics;System.Runtime.Serialization;System.Xml;System.Xml.Linq</AndroidLinkSkip>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>True</DebugSymbols> <DebugSymbols>True</DebugSymbols>

View File

@ -163,40 +163,40 @@ namespace Loader
public partial class Attribute public partial class Attribute
{ {
// aapt resource value: 0x7f010000 // aapt resource value: 0x7F010000
public const int alpha = 2130771968; public const int alpha = 2130771968;
// aapt resource value: 0x7f010008 // aapt resource value: 0x7F010001
public const int font = 2130771976; public const int font = 2130771969;
// aapt resource value: 0x7f010001 // aapt resource value: 0x7F010002
public const int fontProviderAuthority = 2130771969; public const int fontProviderAuthority = 2130771970;
// aapt resource value: 0x7f010004 // aapt resource value: 0x7F010003
public const int fontProviderCerts = 2130771972; public const int fontProviderCerts = 2130771971;
// aapt resource value: 0x7f010005 // aapt resource value: 0x7F010004
public const int fontProviderFetchStrategy = 2130771973; public const int fontProviderFetchStrategy = 2130771972;
// aapt resource value: 0x7f010006 // aapt resource value: 0x7F010005
public const int fontProviderFetchTimeout = 2130771974; public const int fontProviderFetchTimeout = 2130771973;
// aapt resource value: 0x7f010002 // aapt resource value: 0x7F010006
public const int fontProviderPackage = 2130771970; public const int fontProviderPackage = 2130771974;
// aapt resource value: 0x7f010003 // aapt resource value: 0x7F010007
public const int fontProviderQuery = 2130771971; public const int fontProviderQuery = 2130771975;
// aapt resource value: 0x7f010007 // aapt resource value: 0x7F010008
public const int fontStyle = 2130771975; public const int fontStyle = 2130771976;
// aapt resource value: 0x7f01000a // aapt resource value: 0x7F010009
public const int fontVariationSettings = 2130771978; public const int fontVariationSettings = 2130771977;
// aapt resource value: 0x7f010009 // aapt resource value: 0x7F01000A
public const int fontWeight = 2130771977; public const int fontWeight = 2130771978;
// aapt resource value: 0x7f01000b // aapt resource value: 0x7F01000B
public const int ttcIndex = 2130771979; public const int ttcIndex = 2130771979;
static Attribute() static Attribute()
@ -212,29 +212,29 @@ namespace Loader
public partial class Color public partial class Color
{ {
// aapt resource value: 0x7f080006 // aapt resource value: 0x7F020000
public const int colorAccent = 2131230726; public const int colorAccent = 2130837504;
// aapt resource value: 0x7f080004 // aapt resource value: 0x7F020001
public const int colorPrimary = 2131230724; public const int colorPrimary = 2130837505;
// aapt resource value: 0x7f080005 // aapt resource value: 0x7F020002
public const int colorPrimaryDark = 2131230725; public const int colorPrimaryDark = 2130837506;
// aapt resource value: 0x7f080007 // aapt resource value: 0x7F020003
public const int ic_launcher_background = 2131230727; public const int ic_launcher_background = 2130837507;
// aapt resource value: 0x7f080000 // aapt resource value: 0x7F020004
public const int notification_action_color_filter = 2131230720; public const int notification_action_color_filter = 2130837508;
// aapt resource value: 0x7f080001 // aapt resource value: 0x7F020005
public const int notification_icon_bg_color = 2131230721; public const int notification_icon_bg_color = 2130837509;
// aapt resource value: 0x7f080002 // aapt resource value: 0x7F020006
public const int ripple_material_light = 2131230722; public const int ripple_material_light = 2130837510;
// aapt resource value: 0x7f080003 // aapt resource value: 0x7F020007
public const int secondary_text_default_material_light = 2131230723; public const int secondary_text_default_material_light = 2130837511;
static Color() static Color()
{ {
@ -249,71 +249,71 @@ namespace Loader
public partial class Dimension public partial class Dimension
{ {
// aapt resource value: 0x7f070004 // aapt resource value: 0x7F030000
public const int compat_button_inset_horizontal_material = 2131165188; public const int compat_button_inset_horizontal_material = 2130903040;
// aapt resource value: 0x7f070005 // aapt resource value: 0x7F030001
public const int compat_button_inset_vertical_material = 2131165189; public const int compat_button_inset_vertical_material = 2130903041;
// aapt resource value: 0x7f070006 // aapt resource value: 0x7F030002
public const int compat_button_padding_horizontal_material = 2131165190; public const int compat_button_padding_horizontal_material = 2130903042;
// aapt resource value: 0x7f070007 // aapt resource value: 0x7F030003
public const int compat_button_padding_vertical_material = 2131165191; public const int compat_button_padding_vertical_material = 2130903043;
// aapt resource value: 0x7f070008 // aapt resource value: 0x7F030004
public const int compat_control_corner_material = 2131165192; public const int compat_control_corner_material = 2130903044;
// aapt resource value: 0x7f070009 // aapt resource value: 0x7F030005
public const int compat_notification_large_icon_max_height = 2131165193; public const int compat_notification_large_icon_max_height = 2130903045;
// aapt resource value: 0x7f07000a // aapt resource value: 0x7F030006
public const int compat_notification_large_icon_max_width = 2131165194; public const int compat_notification_large_icon_max_width = 2130903046;
// aapt resource value: 0x7f07000b // aapt resource value: 0x7F030007
public const int notification_action_icon_size = 2131165195; public const int notification_action_icon_size = 2130903047;
// aapt resource value: 0x7f07000c // aapt resource value: 0x7F030008
public const int notification_action_text_size = 2131165196; public const int notification_action_text_size = 2130903048;
// aapt resource value: 0x7f07000d // aapt resource value: 0x7F030009
public const int notification_big_circle_margin = 2131165197; public const int notification_big_circle_margin = 2130903049;
// aapt resource value: 0x7f070001 // aapt resource value: 0x7F03000A
public const int notification_content_margin_start = 2131165185; public const int notification_content_margin_start = 2130903050;
// aapt resource value: 0x7f07000e // aapt resource value: 0x7F03000B
public const int notification_large_icon_height = 2131165198; public const int notification_large_icon_height = 2130903051;
// aapt resource value: 0x7f07000f // aapt resource value: 0x7F03000C
public const int notification_large_icon_width = 2131165199; public const int notification_large_icon_width = 2130903052;
// aapt resource value: 0x7f070002 // aapt resource value: 0x7F03000D
public const int notification_main_column_padding_top = 2131165186; public const int notification_main_column_padding_top = 2130903053;
// aapt resource value: 0x7f070003 // aapt resource value: 0x7F03000E
public const int notification_media_narrow_margin = 2131165187; public const int notification_media_narrow_margin = 2130903054;
// aapt resource value: 0x7f070010 // aapt resource value: 0x7F03000F
public const int notification_right_icon_size = 2131165200; public const int notification_right_icon_size = 2130903055;
// aapt resource value: 0x7f070000 // aapt resource value: 0x7F030010
public const int notification_right_side_padding_top = 2131165184; public const int notification_right_side_padding_top = 2130903056;
// aapt resource value: 0x7f070011 // aapt resource value: 0x7F030011
public const int notification_small_icon_background_padding = 2131165201; public const int notification_small_icon_background_padding = 2130903057;
// aapt resource value: 0x7f070012 // aapt resource value: 0x7F030012
public const int notification_small_icon_size_as_large = 2131165202; public const int notification_small_icon_size_as_large = 2130903058;
// aapt resource value: 0x7f070013 // aapt resource value: 0x7F030013
public const int notification_subtext_size = 2131165203; public const int notification_subtext_size = 2130903059;
// aapt resource value: 0x7f070014 // aapt resource value: 0x7F030014
public const int notification_top_pad = 2131165204; public const int notification_top_pad = 2130903060;
// aapt resource value: 0x7f070015 // aapt resource value: 0x7F030015
public const int notification_top_pad_large_text = 2131165205; public const int notification_top_pad_large_text = 2130903061;
static Dimension() static Dimension()
{ {
@ -328,53 +328,53 @@ namespace Loader
public partial class Drawable public partial class Drawable
{ {
// aapt resource value: 0x7f020000 // aapt resource value: 0x7F040000
public const int icon = 2130837504; public const int icon = 2130968576;
// aapt resource value: 0x7f020001 // aapt resource value: 0x7F040001
public const int notification_action_background = 2130837505; public const int notification_action_background = 2130968577;
// aapt resource value: 0x7f020002 // aapt resource value: 0x7F040002
public const int notification_bg = 2130837506; public const int notification_bg = 2130968578;
// aapt resource value: 0x7f020003 // aapt resource value: 0x7F040003
public const int notification_bg_low = 2130837507; public const int notification_bg_low = 2130968579;
// aapt resource value: 0x7f020004 // aapt resource value: 0x7F040004
public const int notification_bg_low_normal = 2130837508; public const int notification_bg_low_normal = 2130968580;
// aapt resource value: 0x7f020005 // aapt resource value: 0x7F040005
public const int notification_bg_low_pressed = 2130837509; public const int notification_bg_low_pressed = 2130968581;
// aapt resource value: 0x7f020006 // aapt resource value: 0x7F040006
public const int notification_bg_normal = 2130837510; public const int notification_bg_normal = 2130968582;
// aapt resource value: 0x7f020007 // aapt resource value: 0x7F040007
public const int notification_bg_normal_pressed = 2130837511; public const int notification_bg_normal_pressed = 2130968583;
// aapt resource value: 0x7f020008 // aapt resource value: 0x7F040008
public const int notification_icon_background = 2130837512; public const int notification_icon_background = 2130968584;
// aapt resource value: 0x7f02000e // aapt resource value: 0x7F040009
public const int notification_template_icon_bg = 2130837518; public const int notification_template_icon_bg = 2130968585;
// aapt resource value: 0x7f02000f // aapt resource value: 0x7F04000A
public const int notification_template_icon_low_bg = 2130837519; public const int notification_template_icon_low_bg = 2130968586;
// aapt resource value: 0x7f020009 // aapt resource value: 0x7F04000B
public const int notification_tile_bg = 2130837513; public const int notification_tile_bg = 2130968587;
// aapt resource value: 0x7f02000a // aapt resource value: 0x7F04000C
public const int notify_panel_notification_icon_bg = 2130837514; public const int notify_panel_notification_icon_bg = 2130968588;
// aapt resource value: 0x7f02000b // aapt resource value: 0x7F04000D
public const int splash = 2130837515; public const int splash = 2130968589;
// aapt resource value: 0x7f02000c // aapt resource value: 0x7F04000E
public const int splash_logos_crop = 2130837516; public const int splash_logos_crop = 2130968590;
// aapt resource value: 0x7f02000d // aapt resource value: 0x7F04000F
public const int splash_screen = 2130837517; public const int splash_screen = 2130968591;
static Drawable() static Drawable()
{ {
@ -389,89 +389,89 @@ namespace Loader
public partial class Id public partial class Id
{ {
// aapt resource value: 0x7f0a000d // aapt resource value: 0x7F050004
public const int action_container = 2131361805; public const int actions = 2131034116;
// aapt resource value: 0x7f0a0019 // aapt resource value: 0x7F050000
public const int action_divider = 2131361817; public const int action_container = 2131034112;
// aapt resource value: 0x7f0a000e // aapt resource value: 0x7F050001
public const int action_image = 2131361806; public const int action_divider = 2131034113;
// aapt resource value: 0x7f0a000f // aapt resource value: 0x7F050002
public const int action_text = 2131361807; public const int action_image = 2131034114;
// aapt resource value: 0x7f0a001a // aapt resource value: 0x7F050003
public const int actions = 2131361818; public const int action_text = 2131034115;
// aapt resource value: 0x7f0a0008 // aapt resource value: 0x7F050005
public const int async = 2131361800; public const int async = 2131034117;
// aapt resource value: 0x7f0a0009 // aapt resource value: 0x7F050006
public const int blocking = 2131361801; public const int blocking = 2131034118;
// aapt resource value: 0x7f0a0018 // aapt resource value: 0x7F050007
public const int chronometer = 2131361816; public const int chronometer = 2131034119;
// aapt resource value: 0x7f0a000a // aapt resource value: 0x7F050008
public const int forever = 2131361802; public const int forever = 2131034120;
// aapt resource value: 0x7f0a0011 // aapt resource value: 0x7F050009
public const int icon = 2131361809; public const int icon = 2131034121;
// aapt resource value: 0x7f0a001b // aapt resource value: 0x7F05000A
public const int icon_group = 2131361819; public const int icon_group = 2131034122;
// aapt resource value: 0x7f0a0014 // aapt resource value: 0x7F05000B
public const int info = 2131361812; public const int info = 2131034123;
// aapt resource value: 0x7f0a000b // aapt resource value: 0x7F05000C
public const int italic = 2131361803; public const int italic = 2131034124;
// aapt resource value: 0x7f0a0000 // aapt resource value: 0x7F05000D
public const int line1 = 2131361792; public const int line1 = 2131034125;
// aapt resource value: 0x7f0a0001 // aapt resource value: 0x7F05000E
public const int line3 = 2131361793; public const int line3 = 2131034126;
// aapt resource value: 0x7f0a000c // aapt resource value: 0x7F05000F
public const int normal = 2131361804; public const int normal = 2131034127;
// aapt resource value: 0x7f0a0016 // aapt resource value: 0x7F050010
public const int notification_background = 2131361814; public const int notification_background = 2131034128;
// aapt resource value: 0x7f0a0012 // aapt resource value: 0x7F050011
public const int notification_main_column = 2131361810; public const int notification_main_column = 2131034129;
// aapt resource value: 0x7f0a0010 // aapt resource value: 0x7F050012
public const int notification_main_column_container = 2131361808; public const int notification_main_column_container = 2131034130;
// aapt resource value: 0x7f0a0015 // aapt resource value: 0x7F050013
public const int right_icon = 2131361813; public const int right_icon = 2131034131;
// aapt resource value: 0x7f0a0013 // aapt resource value: 0x7F050014
public const int right_side = 2131361811; public const int right_side = 2131034132;
// aapt resource value: 0x7f0a0002 // aapt resource value: 0x7F050015
public const int tag_transition_group = 2131361794; public const int tag_transition_group = 2131034133;
// aapt resource value: 0x7f0a0003 // aapt resource value: 0x7F050016
public const int tag_unhandled_key_event_manager = 2131361795; public const int tag_unhandled_key_event_manager = 2131034134;
// aapt resource value: 0x7f0a0004 // aapt resource value: 0x7F050017
public const int tag_unhandled_key_listeners = 2131361796; public const int tag_unhandled_key_listeners = 2131034135;
// aapt resource value: 0x7f0a0005 // aapt resource value: 0x7F050018
public const int text = 2131361797; public const int text = 2131034136;
// aapt resource value: 0x7f0a0006 // aapt resource value: 0x7F050019
public const int text2 = 2131361798; public const int text2 = 2131034137;
// aapt resource value: 0x7f0a0017 // aapt resource value: 0x7F05001A
public const int time = 2131361815; public const int time = 2131034138;
// aapt resource value: 0x7f0a0007 // aapt resource value: 0x7F05001B
public const int title = 2131361799; public const int title = 2131034139;
static Id() static Id()
{ {
@ -486,8 +486,8 @@ namespace Loader
public partial class Integer public partial class Integer
{ {
// aapt resource value: 0x7f0b0000 // aapt resource value: 0x7F060000
public const int status_bar_notification_info_maxnum = 2131427328; public const int status_bar_notification_info_maxnum = 2131099648;
static Integer() static Integer()
{ {
@ -502,23 +502,23 @@ namespace Loader
public partial class Layout public partial class Layout
{ {
// aapt resource value: 0x7f040000 // aapt resource value: 0x7F070000
public const int notification_action = 2130968576; public const int notification_action = 2131165184;
// aapt resource value: 0x7f040001 // aapt resource value: 0x7F070001
public const int notification_action_tombstone = 2130968577; public const int notification_action_tombstone = 2131165185;
// aapt resource value: 0x7f040002 // aapt resource value: 0x7F070002
public const int notification_template_custom_big = 2130968578; public const int notification_template_custom_big = 2131165186;
// aapt resource value: 0x7f040003 // aapt resource value: 0x7F070003
public const int notification_template_icon_group = 2130968579; public const int notification_template_icon_group = 2131165187;
// aapt resource value: 0x7f040004 // aapt resource value: 0x7F070004
public const int notification_template_part_chronometer = 2130968580; public const int notification_template_part_chronometer = 2131165188;
// aapt resource value: 0x7f040005 // aapt resource value: 0x7F070005
public const int notification_template_part_time = 2130968581; public const int notification_template_part_time = 2131165189;
static Layout() static Layout()
{ {
@ -533,17 +533,17 @@ namespace Loader
public partial class Mipmap public partial class Mipmap
{ {
// aapt resource value: 0x7f030000 // aapt resource value: 0x7F080000
public const int ic_launcher = 2130903040; public const int ic_launcher = 2131230720;
// aapt resource value: 0x7f030001 // aapt resource value: 0x7F080001
public const int ic_launcher_background = 2130903041; public const int ic_launcher_background = 2131230721;
// aapt resource value: 0x7f030002 // aapt resource value: 0x7F080002
public const int ic_launcher_foreground = 2130903042; public const int ic_launcher_foreground = 2131230722;
// aapt resource value: 0x7f030003 // aapt resource value: 0x7F080003
public const int ic_launcher_round = 2130903043; public const int ic_launcher_round = 2131230723;
static Mipmap() static Mipmap()
{ {
@ -558,17 +558,17 @@ namespace Loader
public partial class String public partial class String
{ {
// aapt resource value: 0x7f060003 // aapt resource value: 0x7F090000
public const int action_settings = 2131099651; public const int action_settings = 2131296256;
// aapt resource value: 0x7f060001 // aapt resource value: 0x7F090001
public const int app_name = 2131099649; public const int app_name = 2131296257;
// aapt resource value: 0x7f060000 // aapt resource value: 0x7F090002
public const int hello = 2131099648; public const int hello = 2131296258;
// aapt resource value: 0x7f060002 // aapt resource value: 0x7F090003
public const int status_bar_notification_info_overflow = 2131099650; public const int status_bar_notification_info_overflow = 2131296259;
static String() static String()
{ {
@ -583,29 +583,29 @@ namespace Loader
public partial class Style public partial class Style
{ {
// aapt resource value: 0x7f090000 // aapt resource value: 0x7F0A0000
public const int TextAppearance_Compat_Notification = 2131296256; public const int TextAppearance_Compat_Notification = 2131361792;
// aapt resource value: 0x7f090001 // aapt resource value: 0x7F0A0001
public const int TextAppearance_Compat_Notification_Info = 2131296257; public const int TextAppearance_Compat_Notification_Info = 2131361793;
// aapt resource value: 0x7f090006 // aapt resource value: 0x7F0A0002
public const int TextAppearance_Compat_Notification_Line2 = 2131296262; public const int TextAppearance_Compat_Notification_Line2 = 2131361794;
// aapt resource value: 0x7f090002 // aapt resource value: 0x7F0A0003
public const int TextAppearance_Compat_Notification_Time = 2131296258; public const int TextAppearance_Compat_Notification_Time = 2131361795;
// aapt resource value: 0x7f090003 // aapt resource value: 0x7F0A0004
public const int TextAppearance_Compat_Notification_Title = 2131296259; public const int TextAppearance_Compat_Notification_Title = 2131361796;
// aapt resource value: 0x7f090007 // aapt resource value: 0x7F0A0005
public const int Theme_Splash = 2131296263; public const int Theme_Splash = 2131361797;
// aapt resource value: 0x7f090004 // aapt resource value: 0x7F0A0006
public const int Widget_Compat_NotificationActionContainer = 2131296260; public const int Widget_Compat_NotificationActionContainer = 2131361798;
// aapt resource value: 0x7f090005 // aapt resource value: 0x7F0A0007
public const int Widget_Compat_NotificationActionText = 2131296261; public const int Widget_Compat_NotificationActionText = 2131361799;
static Style() static Style()
{ {
@ -617,25 +617,10 @@ namespace Loader
} }
} }
public partial class Xml
{
// aapt resource value: 0x7f050000
public const int provider_paths = 2131034112;
static Xml()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Xml()
{
}
}
public partial class Styleable public partial class Styleable
{ {
// aapt resource value: { 0x10101A5,0x101031F,0x7F010000 }
public static int[] ColorStateListItem = new int[] { public static int[] ColorStateListItem = new int[] {
16843173, 16843173,
16843551, 16843551,
@ -650,39 +635,23 @@ namespace Loader
// aapt resource value: 0 // aapt resource value: 0
public const int ColorStateListItem_android_color = 0; public const int ColorStateListItem_android_color = 0;
// aapt resource value: { 0x7F010002,0x7F010003,0x7F010004,0x7F010005,0x7F010006,0x7F010007 }
public static int[] FontFamily = new int[] { public static int[] FontFamily = new int[] {
2130771969,
2130771970, 2130771970,
2130771971, 2130771971,
2130771972, 2130771972,
2130771973, 2130771973,
2130771974}; 2130771974,
2130771975};
// aapt resource value: 0
public const int FontFamily_fontProviderAuthority = 0;
// aapt resource value: 3
public const int FontFamily_fontProviderCerts = 3;
// aapt resource value: 4
public const int FontFamily_fontProviderFetchStrategy = 4;
// aapt resource value: 5
public const int FontFamily_fontProviderFetchTimeout = 5;
// aapt resource value: 1
public const int FontFamily_fontProviderPackage = 1;
// aapt resource value: 2
public const int FontFamily_fontProviderQuery = 2;
// aapt resource value: { 0x1010532,0x1010533,0x101053F,0x101056F,0x1010570,0x7F010001,0x7F010008,0x7F010009,0x7F01000A,0x7F01000B }
public static int[] FontFamilyFont = new int[] { public static int[] FontFamilyFont = new int[] {
16844082, 16844082,
16844083, 16844083,
16844095, 16844095,
16844143, 16844143,
16844144, 16844144,
2130771975, 2130771969,
2130771976, 2130771976,
2130771977, 2130771977,
2130771978, 2130771978,
@ -703,21 +672,40 @@ namespace Loader
// aapt resource value: 3 // aapt resource value: 3
public const int FontFamilyFont_android_ttcIndex = 3; public const int FontFamilyFont_android_ttcIndex = 3;
// aapt resource value: 6
public const int FontFamilyFont_font = 6;
// aapt resource value: 5 // aapt resource value: 5
public const int FontFamilyFont_fontStyle = 5; public const int FontFamilyFont_font = 5;
// aapt resource value: 8 // aapt resource value: 6
public const int FontFamilyFont_fontVariationSettings = 8; public const int FontFamilyFont_fontStyle = 6;
// aapt resource value: 7 // aapt resource value: 7
public const int FontFamilyFont_fontWeight = 7; public const int FontFamilyFont_fontVariationSettings = 7;
// aapt resource value: 8
public const int FontFamilyFont_fontWeight = 8;
// aapt resource value: 9 // aapt resource value: 9
public const int FontFamilyFont_ttcIndex = 9; public const int FontFamilyFont_ttcIndex = 9;
// aapt resource value: 0
public const int FontFamily_fontProviderAuthority = 0;
// aapt resource value: 1
public const int FontFamily_fontProviderCerts = 1;
// aapt resource value: 2
public const int FontFamily_fontProviderFetchStrategy = 2;
// aapt resource value: 3
public const int FontFamily_fontProviderFetchTimeout = 3;
// aapt resource value: 4
public const int FontFamily_fontProviderPackage = 4;
// aapt resource value: 5
public const int FontFamily_fontProviderQuery = 5;
// aapt resource value: { 0x101019D,0x101019E,0x10101A1,0x10101A2,0x10101A3,0x10101A4,0x1010201,0x101020B,0x1010510,0x1010511,0x1010512,0x1010513 }
public static int[] GradientColor = new int[] { public static int[] GradientColor = new int[] {
16843165, 16843165,
16843166, 16843166,
@ -732,6 +720,17 @@ namespace Loader
16844050, 16844050,
16844051}; 16844051};
// aapt resource value: { 0x10101A5,0x1010514 }
public static int[] GradientColorItem = new int[] {
16843173,
16844052};
// aapt resource value: 0
public const int GradientColorItem_android_color = 0;
// aapt resource value: 1
public const int GradientColorItem_android_offset = 1;
// aapt resource value: 7 // aapt resource value: 7
public const int GradientColor_android_centerColor = 7; public const int GradientColor_android_centerColor = 7;
@ -768,16 +767,6 @@ namespace Loader
// aapt resource value: 2 // aapt resource value: 2
public const int GradientColor_android_type = 2; public const int GradientColor_android_type = 2;
public static int[] GradientColorItem = new int[] {
16843173,
16844052};
// aapt resource value: 0
public const int GradientColorItem_android_color = 0;
// aapt resource value: 1
public const int GradientColorItem_android_offset = 1;
static Styleable() static Styleable()
{ {
global::Android.Runtime.ResourceIdManager.UpdateIdValues(); global::Android.Runtime.ResourceIdManager.UpdateIdValues();
@ -787,6 +776,22 @@ namespace Loader
{ {
} }
} }
public partial class Xml
{
// aapt resource value: 0x7F0C0000
public const int provider_paths = 2131492864;
static Xml()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Xml()
{
}
}
} }
} }
#pragma warning restore 1591 #pragma warning restore 1591

View File

@ -14,7 +14,7 @@
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile> <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk> <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion> <TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<TargetFramework>net5.0-android</TargetFramework> <TargetFramework>net5.0-android</TargetFramework>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
@ -61,7 +61,7 @@
<Folder Include="Resources\drawable\" /> <Folder Include="Resources\drawable\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
</Target> </Target>

View File

@ -201,6 +201,9 @@ namespace StardewModdingAPI.Toolkit.Framework.GameScanning
/// <summary>Get the custom install path from the <c>stardewvalley.targets</c> file in the home directory, if any.</summary> /// <summary>Get the custom install path from the <c>stardewvalley.targets</c> file in the home directory, if any.</summary>
private IEnumerable<string> GetCustomInstallPaths() private IEnumerable<string> GetCustomInstallPaths()
{ {
#if SMAPI_FOR_MOBILE
yield break;
#else
// get home path // get home path
string homePath = Environment.GetEnvironmentVariable(this.Platform == Platform.Windows ? "USERPROFILE" : "HOME")!; string homePath = Environment.GetEnvironmentVariable(this.Platform == Platform.Windows ? "USERPROFILE" : "HOME")!;
if (string.IsNullOrWhiteSpace(homePath)) if (string.IsNullOrWhiteSpace(homePath))
@ -227,8 +230,8 @@ namespace StardewModdingAPI.Toolkit.Framework.GameScanning
XElement? element = root.XPathSelectElement("//*[local-name() = 'GamePath']"); // can't use '//GamePath' due to the default namespace XElement? element = root.XPathSelectElement("//*[local-name() = 'GamePath']"); // can't use '//GamePath' due to the default namespace
if (!string.IsNullOrWhiteSpace(element?.Value)) if (!string.IsNullOrWhiteSpace(element?.Value))
yield return element.Value.Trim(); yield return element.Value.Trim();
#endif
} }
#if SMAPI_FOR_WINDOWS #if SMAPI_FOR_WINDOWS
/// <summary>Get the value of a key in the Windows HKLM registry.</summary> /// <summary>Get the value of a key in the Windows HKLM registry.</summary>
/// <param name="key">The full path of the registry key relative to HKLM.</param> /// <param name="key">The full path of the registry key relative to HKLM.</param>

View File

@ -17,7 +17,7 @@
<Deterministic>True</Deterministic> <Deterministic>True</Deterministic>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk> <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion> <TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<TargetFramework>net5.0-android</TargetFramework> <TargetFramework>net5.0-android</TargetFramework>
<AndroidUseAapt2>true</AndroidUseAapt2> <AndroidUseAapt2>true</AndroidUseAapt2>