diff --git a/LegacyBar.Library/Bar/LegacyBarUtils.cs b/LegacyBar.Library/Bar/LegacyBarUtils.cs
index c09d26f..660d5bd 100644
--- a/LegacyBar.Library/Bar/LegacyBarUtils.cs
+++ b/LegacyBar.Library/Bar/LegacyBarUtils.cs
@@ -99,6 +99,13 @@ public static void SetLegacyBarTheme(LegacyBar legacyBar, LegacyBarTheme theme)
legacyBar.BackgroundDrawableRaw = Resource.Drawable.actionbar_background_black;
legacyBar.DropdownDrawableRaw = Resource.Drawable.dropdown_btn_holo_dark;
break;
+ case LegacyBarTheme.HoloDarkBlue: //dark blue
+ legacyBar.SeparatorColorRaw = Resource.Color.actionbar_separator_darkblue;
+ legacyBar.TitleColorRaw = Resource.Color.actionbar_title_darkblue;
+ legacyBar.ItemBackgroundDrawableRaw = Resource.Drawable.actionbar_btn_darkblue;
+ legacyBar.BackgroundDrawableRaw = Resource.Drawable.actionbar_background_darkblue;
+ legacyBar.DropdownDrawableRaw = Resource.Drawable.dropdown_btn_holo_dark;
+ break;
default:
legacyBar.DropdownDrawableRaw = legacyBar.LightIcons ? Resource.Drawable.dropdown_btn_holo_light : Resource.Drawable.dropdown_btn_holo_dark;
@@ -139,6 +146,13 @@ public static void SetBottomLegacyBarTheme(LegacyBar legacyBar, LegacyBarTheme t
legacyBar.BackgroundDrawableRaw = Resource.Drawable.bottomactionbar_background_black;
legacyBar.DropdownDrawableRaw = Resource.Drawable.dropdown_btn_holo_dark;
break;
+ case LegacyBarTheme.HoloDarkBlue://dark blue
+ legacyBar.SeparatorColorRaw = Resource.Color.bottomactionbar_separator;
+ legacyBar.TitleColorRaw = Resource.Color.actionbar_title_blue;
+ legacyBar.ItemBackgroundDrawableRaw = Resource.Drawable.bottomactionbar_btn_darkblue;
+ legacyBar.BackgroundDrawableRaw = Resource.Drawable.bottomactionbar_background_darkblue;
+ legacyBar.DropdownDrawableRaw = Resource.Drawable.dropdown_btn_holo_dark;
+ break;
default:
legacyBar.DropdownDrawableRaw = legacyBar.LightIcons ? Resource.Drawable.dropdown_btn_holo_light : Resource.Drawable.dropdown_btn_holo_dark;
break;
diff --git a/LegacyBar.Library/BarActions/ILegacyBarAction.cs b/LegacyBar.Library/BarActions/ILegacyBarAction.cs
index 48216e3..2bf35fb 100644
--- a/LegacyBar.Library/BarActions/ILegacyBarAction.cs
+++ b/LegacyBar.Library/BarActions/ILegacyBarAction.cs
@@ -28,7 +28,8 @@ public enum LegacyBarTheme
HoloLight,
HoloGray,
HoloBlack,
- HoloBlue
+ HoloBlue,
+ HoloDarkBlue
}
public enum ActionType
diff --git a/LegacyBar.Library/LegacyBar.Library.csproj b/LegacyBar.Library/LegacyBar.Library.csproj
index e76877c..dfa471f 100644
--- a/LegacyBar.Library/LegacyBar.Library.csproj
+++ b/LegacyBar.Library/LegacyBar.Library.csproj
@@ -14,7 +14,7 @@
Resources\Resource.designer.cs
Resource
LegacyBar.Library
- v2.2
+ v4.0
True
@@ -35,7 +35,6 @@
4
False
False
- SdkOnly
@@ -127,6 +126,10 @@
+
+
+
+
diff --git a/LegacyBar.Library/Resources/Drawable/actionbar_background_darkblue.xml b/LegacyBar.Library/Resources/Drawable/actionbar_background_darkblue.xml
new file mode 100644
index 0000000..f312c0f
--- /dev/null
+++ b/LegacyBar.Library/Resources/Drawable/actionbar_background_darkblue.xml
@@ -0,0 +1,31 @@
+
+
+
+
+ -
+
+
+
+
+
+
+ -
+
+
+
+
+
+
diff --git a/LegacyBar.Library/Resources/Drawable/actionbar_btn_darkblue.xml b/LegacyBar.Library/Resources/Drawable/actionbar_btn_darkblue.xml
new file mode 100644
index 0000000..99d99f7
--- /dev/null
+++ b/LegacyBar.Library/Resources/Drawable/actionbar_btn_darkblue.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LegacyBar.Library/Resources/Drawable/bottomactionbar_background_darkblue.xml b/LegacyBar.Library/Resources/Drawable/bottomactionbar_background_darkblue.xml
new file mode 100644
index 0000000..031f4f8
--- /dev/null
+++ b/LegacyBar.Library/Resources/Drawable/bottomactionbar_background_darkblue.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LegacyBar.Library/Resources/Drawable/bottomactionbar_btn_darkblue.xml b/LegacyBar.Library/Resources/Drawable/bottomactionbar_btn_darkblue.xml
new file mode 100644
index 0000000..b94e1f8
--- /dev/null
+++ b/LegacyBar.Library/Resources/Drawable/bottomactionbar_btn_darkblue.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LegacyBar.Library/Resources/Resource.designer.cs b/LegacyBar.Library/Resources/Resource.designer.cs
index 7d47f4b..58f0bee 100644
--- a/LegacyBar.Library/Resources/Resource.designer.cs
+++ b/LegacyBar.Library/Resources/Resource.designer.cs
@@ -1,13 +1,13 @@
#pragma warning disable 1591
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.17929
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
+// ------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Mono Runtime Version: 4.0.30319.17020
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+// ------------------------------------------------------------------------------
[assembly: Android.Runtime.ResourceDesignerAttribute("LegacyBar.Library.Resource", IsApplication=false)]
@@ -15,10 +15,15 @@ namespace LegacyBar.Library
{
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Novell.MonoDroid.Build.Tasks", "1.0.0.0")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource
{
+ static Resource()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
public partial class Attribute
{
@@ -46,6 +51,11 @@ public partial class Attribute
// aapt resource value: 0x7f010001
public static int title_color = 2130771969;
+ static Attribute()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private Attribute()
{
}
@@ -54,8 +64,8 @@ private Attribute()
public partial class Color
{
- // aapt resource value: 0x7f050039
- public static int Red = 2131034169;
+ // aapt resource value: 0x7f050041
+ public static int Red = 2131034177;
// aapt resource value: 0x7f050023
public static int actionbar_accentcolor_black = 2131034147;
@@ -63,6 +73,9 @@ public partial class Color
// aapt resource value: 0x7f05002b
public static int actionbar_accentcolor_blue = 2131034155;
+ // aapt resource value: 0x7f050033
+ public static int actionbar_accentcolor_darkblue = 2131034163;
+
// aapt resource value: 0x7f05001b
public static int actionbar_accentcolor_darkgray = 2131034139;
@@ -99,6 +112,9 @@ public partial class Color
// aapt resource value: 0x7f05002a
public static int actionbar_maincolor_blue = 2131034154;
+ // aapt resource value: 0x7f050032
+ public static int actionbar_maincolor_darkblue = 2131034162;
+
// aapt resource value: 0x7f05001a
public static int actionbar_maincolor_darkgray = 2131034138;
@@ -111,6 +127,9 @@ public partial class Color
// aapt resource value: 0x7f05002c
public static int actionbar_pressedcolor_blue = 2131034156;
+ // aapt resource value: 0x7f050034
+ public static int actionbar_pressedcolor_darkblue = 2131034164;
+
// aapt resource value: 0x7f05001c
public static int actionbar_pressedcolor_darkgray = 2131034140;
@@ -129,6 +148,9 @@ public partial class Color
// aapt resource value: 0x7f05002e
public static int actionbar_separator_blue = 2131034158;
+ // aapt resource value: 0x7f050036
+ public static int actionbar_separator_darkblue = 2131034166;
+
// aapt resource value: 0x7f05001e
public static int actionbar_separator_darkgray = 2131034142;
@@ -147,17 +169,20 @@ public partial class Color
// aapt resource value: 0x7f05002d
public static int actionbar_title_blue = 2131034157;
+ // aapt resource value: 0x7f050035
+ public static int actionbar_title_darkblue = 2131034165;
+
// aapt resource value: 0x7f05001d
public static int actionbar_title_darkgray = 2131034141;
// aapt resource value: 0x7f050015
public static int actionbar_title_lightgray = 2131034133;
- // aapt resource value: 0x7f050033
- public static int black = 2131034163;
+ // aapt resource value: 0x7f05003b
+ public static int black = 2131034171;
- // aapt resource value: 0x7f050036
- public static int blue = 2131034166;
+ // aapt resource value: 0x7f05003e
+ public static int blue = 2131034174;
// aapt resource value: 0x7f05000f
public static int bottomactionbar_background_end = 2131034127;
@@ -177,6 +202,9 @@ public partial class Color
// aapt resource value: 0x7f05002f
public static int bottomactionbar_maincolor_blue = 2131034159;
+ // aapt resource value: 0x7f050037
+ public static int bottomactionbar_maincolor_darkblue = 2131034167;
+
// aapt resource value: 0x7f05001f
public static int bottomactionbar_maincolor_darkgray = 2131034143;
@@ -189,6 +217,9 @@ public partial class Color
// aapt resource value: 0x7f050030
public static int bottomactionbar_pressedcolor_blue = 2131034160;
+ // aapt resource value: 0x7f050038
+ public static int bottomactionbar_pressedcolor_darkblue = 2131034168;
+
// aapt resource value: 0x7f050020
public static int bottomactionbar_pressedcolor_darkgray = 2131034144;
@@ -201,11 +232,11 @@ public partial class Color
// aapt resource value: 0x7f05000d
public static int bottomactionbar_title = 2131034125;
- // aapt resource value: 0x7f050034
- public static int green = 2131034164;
+ // aapt resource value: 0x7f05003c
+ public static int green = 2131034172;
- // aapt resource value: 0x7f050037
- public static int grey = 2131034167;
+ // aapt resource value: 0x7f05003f
+ public static int grey = 2131034175;
// aapt resource value: 0x7f050029
public static int pager_black = 2131034153;
@@ -213,20 +244,28 @@ public partial class Color
// aapt resource value: 0x7f050031
public static int pager_blue = 2131034161;
+ // aapt resource value: 0x7f050039
+ public static int pager_darkblue = 2131034169;
+
// aapt resource value: 0x7f050021
public static int pager_darkgray = 2131034145;
// aapt resource value: 0x7f050019
public static int pager_lightgray = 2131034137;
- // aapt resource value: 0x7f050035
- public static int red = 2131034165;
+ // aapt resource value: 0x7f05003d
+ public static int red = 2131034173;
- // aapt resource value: 0x7f050032
- public static int white = 2131034162;
+ // aapt resource value: 0x7f05003a
+ public static int white = 2131034170;
- // aapt resource value: 0x7f050038
- public static int yellow = 2131034168;
+ // aapt resource value: 0x7f050040
+ public static int yellow = 2131034176;
+
+ static Color()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
private Color()
{
@@ -257,6 +296,11 @@ public partial class Dimension
// aapt resource value: 0x7f060004
public static int actionbar_item_width = 2131099652;
+ static Dimension()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private Dimension()
{
}
@@ -284,112 +328,129 @@ public partial class Drawable
public static int actionbar_background_blue = 2130837509;
// aapt resource value: 0x7f020006
- public static int actionbar_background_darkgray = 2130837510;
+ public static int actionbar_background_darkblue = 2130837510;
// aapt resource value: 0x7f020007
- public static int actionbar_background_lightgray = 2130837511;
+ public static int actionbar_background_darkgray = 2130837511;
// aapt resource value: 0x7f020008
- public static int actionbar_btn = 2130837512;
+ public static int actionbar_background_lightgray = 2130837512;
// aapt resource value: 0x7f020009
- public static int actionbar_btn_alt = 2130837513;
+ public static int actionbar_btn = 2130837513;
// aapt resource value: 0x7f02000a
- public static int actionbar_btn_black = 2130837514;
+ public static int actionbar_btn_alt = 2130837514;
// aapt resource value: 0x7f02000b
- public static int actionbar_btn_blue = 2130837515;
+ public static int actionbar_btn_black = 2130837515;
// aapt resource value: 0x7f02000c
- public static int actionbar_btn_darkgray = 2130837516;
+ public static int actionbar_btn_blue = 2130837516;
// aapt resource value: 0x7f02000d
- public static int actionbar_btn_lightgray = 2130837517;
+ public static int actionbar_btn_darkblue = 2130837517;
// aapt resource value: 0x7f02000e
- public static int actionbar_btn_normal = 2130837518;
+ public static int actionbar_btn_darkgray = 2130837518;
// aapt resource value: 0x7f02000f
- public static int actionbar_btn_normal_alt = 2130837519;
+ public static int actionbar_btn_lightgray = 2130837519;
// aapt resource value: 0x7f020010
- public static int actionbar_btn_pressed = 2130837520;
+ public static int actionbar_btn_normal = 2130837520;
// aapt resource value: 0x7f020011
- public static int actionbar_btn_pressed_alt = 2130837521;
+ public static int actionbar_btn_normal_alt = 2130837521;
// aapt resource value: 0x7f020012
- public static int bottomactionbar_background = 2130837522;
+ public static int actionbar_btn_pressed = 2130837522;
// aapt resource value: 0x7f020013
- public static int bottomactionbar_background_black = 2130837523;
+ public static int actionbar_btn_pressed_alt = 2130837523;
// aapt resource value: 0x7f020014
- public static int bottomactionbar_background_blue = 2130837524;
+ public static int bottomactionbar_background = 2130837524;
// aapt resource value: 0x7f020015
- public static int bottomactionbar_background_darkgray = 2130837525;
+ public static int bottomactionbar_background_black = 2130837525;
// aapt resource value: 0x7f020016
- public static int bottomactionbar_background_lightgray = 2130837526;
+ public static int bottomactionbar_background_blue = 2130837526;
// aapt resource value: 0x7f020017
- public static int bottomactionbar_btn = 2130837527;
+ public static int bottomactionbar_background_darkblue = 2130837527;
// aapt resource value: 0x7f020018
- public static int bottomactionbar_btn_black = 2130837528;
+ public static int bottomactionbar_background_darkgray = 2130837528;
// aapt resource value: 0x7f020019
- public static int bottomactionbar_btn_blue = 2130837529;
+ public static int bottomactionbar_background_lightgray = 2130837529;
// aapt resource value: 0x7f02001a
- public static int bottomactionbar_btn_darkgray = 2130837530;
+ public static int bottomactionbar_btn = 2130837530;
// aapt resource value: 0x7f02001b
- public static int bottomactionbar_btn_lightgray = 2130837531;
+ public static int bottomactionbar_btn_black = 2130837531;
// aapt resource value: 0x7f02001c
- public static int bottomactionbar_btn_normal = 2130837532;
+ public static int bottomactionbar_btn_blue = 2130837532;
// aapt resource value: 0x7f02001d
- public static int bottomactionbar_btn_pressed = 2130837533;
+ public static int bottomactionbar_btn_darkblue = 2130837533;
// aapt resource value: 0x7f02001e
- public static int dropdown_btn_holo_dark = 2130837534;
+ public static int bottomactionbar_btn_darkgray = 2130837534;
// aapt resource value: 0x7f02001f
- public static int dropdown_btn_holo_light = 2130837535;
+ public static int bottomactionbar_btn_lightgray = 2130837535;
// aapt resource value: 0x7f020020
- public static int dropdown_disabled_holo_dark = 2130837536;
+ public static int bottomactionbar_btn_normal = 2130837536;
// aapt resource value: 0x7f020021
- public static int dropdown_disabled_holo_light = 2130837537;
+ public static int bottomactionbar_btn_pressed = 2130837537;
// aapt resource value: 0x7f020022
- public static int dropdown_focused_holo_dark = 2130837538;
+ public static int dropdown_btn_holo_dark = 2130837538;
// aapt resource value: 0x7f020023
- public static int dropdown_focused_holo_light = 2130837539;
+ public static int dropdown_btn_holo_light = 2130837539;
// aapt resource value: 0x7f020024
- public static int dropdown_normal_holo_dark = 2130837540;
+ public static int dropdown_disabled_holo_dark = 2130837540;
// aapt resource value: 0x7f020025
- public static int dropdown_normal_holo_light = 2130837541;
+ public static int dropdown_disabled_holo_light = 2130837541;
// aapt resource value: 0x7f020026
- public static int dropdown_pressed_holo_dark = 2130837542;
+ public static int dropdown_focused_holo_dark = 2130837542;
// aapt resource value: 0x7f020027
- public static int dropdown_pressed_holo_light = 2130837543;
+ public static int dropdown_focused_holo_light = 2130837543;
// aapt resource value: 0x7f020028
- public static int ic_action_overflow = 2130837544;
+ public static int dropdown_normal_holo_dark = 2130837544;
// aapt resource value: 0x7f020029
- public static int ic_action_overflow_dark = 2130837545;
+ public static int dropdown_normal_holo_light = 2130837545;
+
+ // aapt resource value: 0x7f02002a
+ public static int dropdown_pressed_holo_dark = 2130837546;
+
+ // aapt resource value: 0x7f02002b
+ public static int dropdown_pressed_holo_light = 2130837547;
+
+ // aapt resource value: 0x7f02002c
+ public static int ic_action_overflow = 2130837548;
+
+ // aapt resource value: 0x7f02002d
+ public static int ic_action_overflow_dark = 2130837549;
+
+ static Drawable()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
private Drawable()
{
@@ -399,38 +460,38 @@ private Drawable()
public partial class Id
{
- // aapt resource value: 0x7f04000b
- public static int actionbar_actions = 2130968587;
-
- // aapt resource value: 0x7f040006
- public static int actionbar_home = 2130968582;
+ // aapt resource value: 0x7f04000c
+ public static int actionbar_actions = 2130968588;
- // aapt resource value: 0x7f040008
- public static int actionbar_home_bg = 2130968584;
+ // aapt resource value: 0x7f040007
+ public static int actionbar_home = 2130968583;
// aapt resource value: 0x7f040009
- public static int actionbar_home_btn = 2130968585;
+ public static int actionbar_home_bg = 2130968585;
// aapt resource value: 0x7f04000a
- public static int actionbar_home_is_back = 2130968586;
-
- // aapt resource value: 0x7f040007
- public static int actionbar_home_logo = 2130968583;
+ public static int actionbar_home_btn = 2130968586;
- // aapt resource value: 0x7f040010
- public static int actionbar_item = 2130968592;
+ // aapt resource value: 0x7f04000b
+ public static int actionbar_home_is_back = 2130968587;
- // aapt resource value: 0x7f04000d
- public static int actionbar_progress = 2130968589;
+ // aapt resource value: 0x7f040008
+ public static int actionbar_home_logo = 2130968584;
- // aapt resource value: 0x7f04000f
- public static int actionbar_spinner = 2130968591;
+ // aapt resource value: 0x7f040011
+ public static int actionbar_item = 2130968593;
// aapt resource value: 0x7f04000e
- public static int actionbar_title = 2130968590;
+ public static int actionbar_progress = 2130968590;
- // aapt resource value: 0x7f04000c
- public static int actionbar_title_layout = 2130968588;
+ // aapt resource value: 0x7f040010
+ public static int actionbar_spinner = 2130968592;
+
+ // aapt resource value: 0x7f04000f
+ public static int actionbar_title = 2130968591;
+
+ // aapt resource value: 0x7f04000d
+ public static int actionbar_title_layout = 2130968589;
// aapt resource value: 0x7f040000
public static int custom = 2130968576;
@@ -441,17 +502,25 @@ public partial class Id
// aapt resource value: 0x7f040004
public static int holo_blue = 2130968580;
+ // aapt resource value: 0x7f040005
+ public static int holo_darkblue = 2130968581;
+
// aapt resource value: 0x7f040002
public static int holo_gray = 2130968578;
// aapt resource value: 0x7f040001
public static int holo_light = 2130968577;
- // aapt resource value: 0x7f040011
- public static int overflow_spinner = 2130968593;
+ // aapt resource value: 0x7f040012
+ public static int overflow_spinner = 2130968594;
- // aapt resource value: 0x7f040005
- public static int screen = 2130968581;
+ // aapt resource value: 0x7f040006
+ public static int screen = 2130968582;
+
+ static Id()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
private Id()
{
@@ -476,6 +545,11 @@ public partial class Layout
// aapt resource value: 0x7f030004
public static int spinneritem = 2130903044;
+ static Layout()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private Layout()
{
}
@@ -487,6 +561,11 @@ public partial class String
// aapt resource value: 0x7f070000
public static int actionbar_activity_not_found = 2131165184;
+ static String()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private String()
{
}
@@ -513,6 +592,11 @@ public partial class Style
// aapt resource value: 0x7f080002
public static int clearbutton = 2131230722;
+ static Style()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private Style()
{
}
@@ -521,7 +605,8 @@ private Style()
public partial class Styleable
{
- public static int[] actionbar = new int[] {
+ public static int[] actionbar = new int[]
+ {
2130771968,
2130771969,
2130771970,
@@ -555,6 +640,11 @@ public partial class Styleable
// aapt resource value: 1
public static int actionbar_title_color = 1;
+ static Styleable()
+ {
+ global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+ }
+
private Styleable()
{
}
diff --git a/LegacyBar.Library/Resources/Values/attrs.xml b/LegacyBar.Library/Resources/Values/attrs.xml
index 8cc1844..f19389d 100644
--- a/LegacyBar.Library/Resources/Values/attrs.xml
+++ b/LegacyBar.Library/Resources/Values/attrs.xml
@@ -27,6 +27,7 @@
+
diff --git a/LegacyBar.Library/Resources/Values/colors.xml b/LegacyBar.Library/Resources/Values/colors.xml
index a8b62af..b2c0193 100644
--- a/LegacyBar.Library/Resources/Values/colors.xml
+++ b/LegacyBar.Library/Resources/Values/colors.xml
@@ -74,6 +74,15 @@
#FF888888
#FF4c505b
+ #FF00103f
+ #FF000c31
+ #FF071d5e
+ #FFFFFFFF
+ #FF0f266b
+ #FF555555
+ #FF888888
+ #FF4c505b
+
#FFFFFF
#000000
#00FF00