Re: [mono-android] ActionBarSherlock styling

2013-04-05 Thread Spencer
Thanks Jon I've tried your suggestions with no luck. There is no particularly helpful information in the build log. The only error that is different from the aapt.exe error message is this - Done building target "_UpdateAndroidResgen" in project "SupepeUITest.csproj" -- FAILED -- View this m

Re: [mono-android] ActionBarSherlock styling

2013-04-04 Thread Jonathan Pryor
On Apr 4, 2013, at 11:02 AM, Spencer wrote: > I'm trying to restyle the default ActionBarSherlock theme and getting the > dreaded "aapt.exe exited with code 1. (MSB6006)" error. Please enable Diagnostic build output, clean, and rebuild your app: http://docs.xamarin.com/guides/android/d

[mono-android] ActionBarSherlock styling

2013-04-04 Thread Spencer
Hi I'm trying to restyle the default ActionBarSherlock theme and getting the dreaded "aapt.exe exited with code 1. (MSB6006)" error. I've isolated the problem to the following XML in my Themes.xml - It would seem that the compiler can't find the style TextAppearance.Sherlock.Widget.Action.Titl

Re: [mono-android] ActionBarSherlock

2012-10-12 Thread Atsushi Eno
That rather sounds like your class misses some required callback class that Java code requires in certain name, and your Tab implementation needs to use ExportAttribute which was introduced in MfA 4.2 (actually 4.1 preview). I wanted to point to our documentation, but it seems our doc team so

Re: [mono-android] ActionBarSherlock

2012-10-11 Thread craig
I found a bug in the action bar binding... If you take the sample app (https://github.com/xamarin/monodroid-samples/tree/master/ActionBarSherlock) and try to implement tabs then you will get an error message: "Action Bar Tab must have a Callback" Below is a code snippet of what I am trying to do

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-29 Thread hwrdprkns
Atsushi Eno wrote > > > Oh, sorry, you were right. It was still missing managed reference > (Mono.Android.Support.v4.dll) and resulted in missing those types in > that commit yet. > > Now I've made another fix 9a09460. If it still didn't work, please > report us back. > > Thanks, > Atsushi

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-28 Thread Atsushi Eno
Hello, On 2012/08/28 14:11, hwrdprkns wrote: Atsushi Eno wrote hwrdprkns wrote: Jonathan Pryor-2 wrote I am using the MonoDroid sample for ActionBarSherlock located here, but I haven't been able to get to the SherlockFragmentActivity. The type isn't being bound because the type can't be proc

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-28 Thread Atsushi Eno
Hello, On 2012/08/28 13:57, hwrdprkns wrote: Atsushi Eno wrote Today I made some changes in our toolchain and found that the reason why it could not load the type was due to missing reference to support-v4.jar. Now I added it to monodroid-samples/ActionBarSherlock sample and it successfully bu

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-27 Thread hwrdprkns
Atsushi Eno wrote > > hwrdprkns wrote: >> Jonathan Pryor-2 wrote I am using the MonoDroid sample for ActionBarSherlock located here, but I haven't been able to get to the SherlockFragmentActivity. >>> The type isn't being bound because the type can't be processed: >>> >>> >>> http:

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-27 Thread hwrdprkns
Atsushi Eno wrote > > Today I made some changes in our toolchain and found that the reason why > it could not load the type was due to missing reference to support-v4.jar. > > Now I added it to monodroid-samples/ActionBarSherlock sample and it > successfully built SherlockFragmentActivity. >

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-25 Thread Atsushi Eno
hwrdprkns wrote: Jonathan Pryor-2 wrote I am using the MonoDroid sample for ActionBarSherlock located here, but I haven't been able to get to the SherlockFragmentActivity. The type isn't being bound because the type can't be processed: http://mono-for-android.1047100.n5.nabble.com/Java-Bindin

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-25 Thread Atsushi Eno
Today I made some changes in our toolchain and found that the reason why it could not load the type was due to missing reference to support-v4.jar. Now I added it to monodroid-samples/ActionBarSherlock sample and it successfully built SherlockFragmentActivity. Atsushi Eno Jonathan Pryor wrot

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-23 Thread hwrdprkns
Jonathan Pryor-2 wrote > >> I am using the MonoDroid sample for ActionBarSherlock located here, but I >> haven't been able to get to the SherlockFragmentActivity. > > The type isn't being bound because the type can't be processed: > > > http://mono-for-android.1047100.n5.nabble.com/Java-Bindin

Re: [mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-21 Thread Jonathan Pryor
On Aug 21, 2012, at 1:19 AM, hwrdprkns wrote: > I am using the MonoDroid sample for ActionBarSherlock located here, but I > haven't been able to get to the SherlockFragmentActivity. The type isn't being bound because the type can't be processed: http://mono-for-android.1047100.n5.nabbl

[mono-android] ActionBarSherlock Example Does Not Support Fragments?

2012-08-20 Thread hwrdprkns
I am using the MonoDroid sample for ActionBarSherlock located here, but I haven't been able to get to the SherlockFragmentActivity. I tried adding the support(V4) DLL in the library project, but that doesn't seem to give me access to the SherlockFragmentActivity. Does anyone know if there are any

Re: [mono-android] ActionBarSherlock

2012-07-12 Thread craig
I'm done with this for now. I handled this by modifying the project file and adding this to the bottom: I created a blog about binding ActionBarSherlock here: http://www.craigsprogramming.com/2012/07/actionbarsherlock-with-mono-for-android.html Seems to be

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
craig wrote: Also I have determined that the resource IDs becoming out of synch between main project and the bound JAR project is a problem. Correct, they can be out of sync. If you compile the java project as a Library project instead of a normal project then it will make all the resource ID

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
Missing R isn't a build-time blocker anymore. But the fix is done rather to resolve this issue, where the actual class exists as in dex and doesn't matter at run time, unlike R. http://mono-for-android.1047100.n5.nabble.com/Problem-with-a-wrapper-for-Amazon-in-app-purchases-td5710131.html Atsus

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread craig
Also I have determined that the resource IDs becoming out of synch between main project and the bound JAR project is a problem. If you compile the java project as a Library project instead of a normal project then it will make all the resource ID fields NOT final, which is important otherwise the

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread craig
Actually the missing R class issue seems to be at least partially fixed/working already in 4.2.4. I deleted the R class from the JAR file and it is still able to bind - it just throws a few warnings at me: JARTOXML : warning : missing class error was raised while reflecting com.actionbarsherlock.

Re: [mono-android] ActionBarSherlock

2012-07-11 Thread Atsushi Eno
The missing R class issue is now fixed and will be included in the next build release (4.2.5 or whatever next). For resource/asset support in non-binding library project, we need more certain amount of work and I can't say when it will be done. But it has been one of our wish list, so please s

Re: [mono-android] ActionBarSherlock

2012-07-09 Thread craig
Well, after a difficult learning curve, I believe I have successfully bound the ActionBarSherlock library in Mono for Android. Download the demo solution here: "http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip

Re: [mono-android] ActionBarSherlock

2012-07-07 Thread Tomasz Cielecki
>From what I understood when talking to James yesterday, it is the desired behaviour, as pre-3.0 devices all have a menu button. Also in Android pre-3.0 the Menu in the bottom is default behavior. You can achieve the same behavior on all platforms by going into ActionBar.cs and explicitly set m_Ha

Re: [mono-android] ActionBarSherlock

2012-07-06 Thread craig
Hey, Motz, one thing I noticed, if you are running pre 3.0 it doesn't seem to use the overflow menu in the actionbar, instead it pops up a menu at the bottom of the screen but only when you press the menu button. Is that how it is supposed to work? Honestly don't have a lot of experience with Act

Re: [mono-android] ActionBarSherlock

2012-07-06 Thread craig
Thanks Motz, I'll have to check your library out. Still curious about Actionbar Sherlock, but your library may be enough for my needs. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-tp5710482p5710756.html Sent from the Mono for Android mailing li

Re: [mono-android] ActionBarSherlock

2012-06-26 Thread James Montemagno
--- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Atsushi Eno Sent: Tuesday, June 26, 2012 12:22 AM To: Discussions related to Mono for Android Cc: craig Subject: Re: [mono-android] ActionBarSherlock I seem to have chopped out a lot of context ;-)

Re: [mono-android] ActionBarSherlock

2012-06-26 Thread motz
Pretty large update today as well to my fork. Now have full support to target api level 15. This includes full support for overflow in the actionbar. https://github.com/jamesmontemagno/MonoDroid.ActionBar https://github.com/jamesmontemagno/MonoDroid.ActionBar http://mono-for-android.1047100.n5.n

Re: [mono-android] ActionBarSherlock

2012-06-26 Thread Atsushi Eno
I seem to have chopped out a lot of context ;-) As you wrote earlier, ActionBarSherlock is not a single jar library but rather an "Android library project" which contains both code jar and unpackaged resources. Surprisingly we actually (claim to) support this kind of Android Library project in

Re: [mono-android] ActionBarSherlock

2012-06-25 Thread James Montemagno
...@lists.ximian.com] On Behalf Of craig Sent: Monday, June 25, 2012 7:46 AM To: monodroid@lists.ximian.com Subject: Re: [mono-android] ActionBarSherlock Thanks for the reply Atsushi. Keep up the good work. What do you mean by "continue with missing Java types" approach. -- View this message in con

Re: [mono-android] ActionBarSherlock

2012-06-25 Thread craig
Thanks for the reply Atsushi. Keep up the good work. What do you mean by "continue with missing Java types" approach. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-tp5710482p5710515.html Sent from the Mono for Android mailing list archive at

Re: [mono-android] ActionBarSherlock

2012-06-24 Thread Atsushi Eno
Hi, thanks for the report. It gave us another inputs on binding implementation. I tried it this weekend, and noticed that it complains about missing "R" class, which noticed me that R class is *not* included in the library project jar and hence fails for incomplete type resolution. This ne

[mono-android] ActionBarSherlock

2012-06-21 Thread craig
I know this has been asked before but with the new Java Binding Library do you think its remotely possible to get ActionBarSherlock working on Mono for Android? I just checked Android Platform statistics again and over 90% of users are using pre 3.0 platform, so theres a really strong need for a g