James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin.Android

Xamarin.Android SwipeRefreshLayout for #MvvmCross

I was very excited to see that the latest version of Support v4 for Android was updated to include as most people would says it a “Pull to Refresh”… or as Google would call it a “SwipeRefreshLayout [http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html] ”. It is now available in the Xamarin.Android Support v4 Component [https://components.xamarin.com/view/xamandroidsupportv4-18] so we should probably take advantage of it! This is actually a really slick Layout…

James Montemagno James Montemagno

Xamarin.Android Templates Pack!

Xamarin.Android already ships with a bunch of great project templates for Visual Studio, however I find that there are a few things missing. I usually start a new project with a Navigation Drawer and I am always adding new Menus, but I can never seem to remember every little bit of XML that is needed for some complex menus such as share and search. This is why I have created the Xamarin.Android Templates Pack. This is the first release that includes these items that I have listed. You can downlo…

James Montemagno James Montemagno

Google Plus Services, Login and +1 in Xamarin.Android

I have been dabbling around recently with integrating Google Play Services [https://developers.google.com/+/mobile/android/#recommend_content_with_the_1_button] into Android applications. Play Services are pretty interesting as they offer up a nice set of functionality including a G+ Sign In button and +1 sharing on G+. This is pretty intriguing to me because I have been building out a podcast streaming app for the Dot Net Rocks show. I wanted to build out a small sample to test what the detail…

James Montemagno James Montemagno

Beautiful Android Compat Roboto Fonts in Xamarin.Android

In android 4.1 and 4.2 Google did something amazing, which was add the roboto [http://developer.android.com/design/style/typography.html] fonts as a default font family that you can switch between. It is as easy as setting “sans-serif”, “sans-serif-light”, “sans-serif-condensed”, and “sans-serif-thin” as the android:FontFamily. However the obvious issue here is that this is only available in 4.1+ (with thin only being available in 4.2). So if you want to target older platforms you have to do s…

James Montemagno James Montemagno

Effective Navigation in Xamarin.Android: Part 1 - Navigation Drawer

When designing your app you have probably wondered about what type of navigation is the best to use. Dashboards, navigation lists, spinner drop downs, tabs, and fly out menus are all still prevalent and valid choices, however, Google has recently made a huge push to use their new standard Navigation Drawer control. So what is a Navigation Drawer? Similar to a flyout menu made famous by Facebook, the Navigation Drawer is designed to be swiped out from the left side of you application. The main…

James Montemagno James Montemagno

Some more code!

So before motzcod.es existed I did a lot of blog posting about code and such over on motzwrit.es. As tumblr doesn’t allow a good way to transition posts I just wanted to create a nice archive here: Windows Phone: Amazing - 1 Feature = Windows Phone Toolkit [http://www.motzwrit.es/post/37436490939/amazing-1-feature-wp-toolkit] Windows Store: Re-Use your WP Isolated Storage Settings in Windows Store Apps [http://www.motzwrit.es/post/30814582479/re-use-your-wp7-isolated-storage-settings-in-win8-m…

James Montemagno James Montemagno