I'm done with this for now.  I handled this by modifying the project file and
adding this to the bottom:

<Target Name="BeforeBuild">

  <CreateTemporaryDirectory>

    <Output TaskParameter="TemporaryDirectory"
PropertyName="ResgenTemporaryDirectory" />

  </CreateTemporaryDirectory>

  <CreateResgenManifest
ManifestOutputFile="$(ResgenTemporaryDirectory)\AndroidManifest.xml"
PackageName="com.actionbarsherlock" />

  <ConvertResourcesCases
ResourceDirectory="$(MonoAndroidResDirIntermediate)"
AcwMapFile="$(_AcwMapFile)" />

  <Aapt AndroidSdkDirectory="$(_AndroidSdkDirectory)"
JavaPlatformJarPath="$(JavaPlatformJarPath)"
ManifestFile="$(ResgenTemporaryDirectory)\AndroidManifest.xml"
ResourceDirectory="$(MonoAndroidResDirIntermediate)"
JavaDesignerOutputDirectory="$(ResgenTemporaryDirectory)"
ResourceOutputFile="$(ResgenTemporaryDirectory)\resources.apk"
ExtraArgs="$(AndroidResgenExtraArgs)" />

  <CopyIfChanged Source="$(ResgenTemporaryDirectory)\R.java"
Destination="$(IntermediateOutputPath)android\src\com\actionbarsherlock\R.java"
Condition="Exists ('$(ResgenTemporaryDirectory)\R.java')" />

  <RemoveDirFixed Directories="$(ResgenTemporaryDirectory)" />

</Target>


I created a blog about binding ActionBarSherlock here:
http://www.craigsprogramming.com/2012/07/actionbarsherlock-with-mono-for-android.html

Seems to be working.  Thanks.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-tp5710482p5710855.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to