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>
<AndroidResgenClass>Resource</AndroidResgenClass>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<TargetFramework>net5.0-android</TargetFramework>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
@ -34,12 +34,13 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AndroidLinkMode>Full</AndroidLinkMode>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<AndroidManagedSymbols>false</AndroidManagedSymbols>
<AndroidUseAapt2>false</AndroidUseAapt2>
<AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis>
<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 Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>

View File

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

View File

@ -14,7 +14,7 @@
<FileAlignment>512</FileAlignment>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v12.0</TargetFrameworkVersion>
<TargetFramework>net5.0-android</TargetFramework>
<LangVersion>latest</LangVersion>
@ -61,7 +61,7 @@
<Folder Include="Resources\drawable\" />
</ItemGroup>
<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.
<Target Name="BeforeBuild">
</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>
private IEnumerable<string> GetCustomInstallPaths()
{
#if SMAPI_FOR_MOBILE
yield break;
#else
// get home path
string homePath = Environment.GetEnvironmentVariable(this.Platform == Platform.Windows ? "USERPROFILE" : "HOME")!;
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
if (!string.IsNullOrWhiteSpace(element?.Value))
yield return element.Value.Trim();
#endif
}
#if SMAPI_FOR_WINDOWS
/// <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>

View File

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