Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Commit

Permalink
Remove Themes.xml as it is not needed.
Browse files Browse the repository at this point in the history
Clean up MenuItemLegacyBarAction so you don't need the context (you do need activity).
  • Loading branch information
jamesmontemagno committed Apr 2, 2013
1 parent 5ad8be8 commit 7993235
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions LegacyBar.Library/BarActions/MenuItemLegacyBarAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public LegacyBarMenuItem(int id, IntPtr handle)

public void Dispose()
{
throw new NotImplementedException();
//throw new NotImplementedException();
}

public IMenuItem SetAlphabeticShortcut(char alphaChar)
Expand Down Expand Up @@ -142,10 +142,10 @@ public class MenuItemLegacyBarAction: LegacyBarAction
private readonly Activity _activity;
private readonly LegacyBarMenuItem _menuItem;
public int MenuItemId;
public MenuItemLegacyBarAction(Context context, Activity activity, int menuId, int drawable, int popupId)
public MenuItemLegacyBarAction(Activity activity, int menuId, int drawable, int popupId)
{
Drawable = drawable;
Context = context;
Context = activity;
_activity = activity;
MenuItemId = menuId;
_menuItem = new LegacyBarMenuItem(menuId, Handle);
Expand Down
1 change: 0 additions & 1 deletion LegacyBar.Library/LegacyBar.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
<AndroidResource Include="Resources\Values\styles.xml">
<SubType>Designer</SubType>
</AndroidResource>
<AndroidResource Include="Resources\Values\themes.xml" />
<AndroidResource Include="Resources\Values-land\dimens.xml">
<SubType>Designer</SubType>
</AndroidResource>
Expand Down
3 changes: 0 additions & 3 deletions LegacyBar.Library/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions LegacyBar.Library/Resources/Values/themes.xml

This file was deleted.

0 comments on commit 7993235

Please sign in to comment.