Xamarin: Xamarin Helps Launch AWS APN Mobile Competency Program

We’re excited to announce that we’ve been selected as an inaugural Amazon Web Services’ (AWS) Mobile Competency Program Partner. The Amazon Partner Network (APN) Competency Program highlights companies who have demonstrated technical expertise and customer success across specialized solutions and industries, including security, digital media, big data, and many others. The new Mobile Competency Program […]

The post Xamarin Helps Launch AWS APN Mobile Competency Program appeared first on Xamarin Blog.

Details

Johan Karlsson: Different images for selected and unselected using Xamarin Forms Tab Bar

This is just a simple hack for iOS using Xamarin Forms and icons for a TabbedPage.

Problem definition

In Xamarin Forms, the icon of the tab bar is fetched from what ever image you reference in the Icon property of the page added to the TabbedPage. This image is grayed out if unselected and filled in with the defined color when selected.
However, sometimes you want to display a different image if unselected or selected and there is no build in way to specify this nicely.

Solution

The solution is a small hack. Simply add event handlers to the Appearing and Disappearing events and reset the images to your liking.

         var activeImage = active;
            var inactiveImage = inactive;

            var tab1 = new AnotherPage();
            tab1.Title = Check in;
            tab1.Icon = new FileImageSource() { File = activeImage };
            tab1.Appearing += (s, a) => tab1.Icon = new FileImageSource() { File = activeImage };
            tab1.Disappearing += (s, a) => tab1.Icon = new FileImageSource() { File = inactiveImage };

Summary

Should it be done? Probably not, but if your out of options (that is your customer insist of doing it in such way) then this is an option.

Also worth noting is that the images will flicker if the debugger is attached. There is no visible delay when running it in release.

Details

Xamarin: Using Auto Layouts for iOS 9 SplitView

The official launch of iOS 9 is on the horizon, which makes it a great time to ensure your Xamarin.iOS app is ready to take advantage of all of the upcoming features. One that I’m excited about is the new and improved multi-tasking experience on the iPad. With iOS 9, it’s possible to run two apps side-by-side in […]

The post Using Auto Layouts for iOS 9 SplitView appeared first on Xamarin Blog.

Details

Xamarin: Free Xamarin Subscriptions for Windows Phone Developers

Xamarin developers have been coding the dream: crafting a single, shared codebase to target the multi-device world we live in. Here at Xamarin, we’re excited about the recent release of the Universal Windows Platform, and we know that both Xamarin and Windows Phone developers are excited about the improvements introduced in Windows 10. To help […]

The post Free Xamarin Subscriptions for Windows Phone Developers appeared first on Xamarin Blog.

Details

Adam J Wolf: Weekly Xamarin Newsletter Issue #53

Contest: Test Your Way to Xamarin Evolve Jayme Singleton, from Xamarin Inc., announces a new contest that can win you a trip to Evolve 2016. Xamarin.UITest Reaches 1.0 Release Steven Yi, from Xamarin Inc., announces the 1.0 release milestone of Xamarin.UITest. Cross Platform Compositional Gestures  George Cook, from Twin Technologies, puts together an epic post […]

The post Weekly Xamarin Newsletter Issue #53 appeared first on Syntax is my UI.

Details