Posts

Showing posts with the label xamarin

GridSplitter control for Xamarin Forms

Image
I created a GridSplitter control for Xamarin Forms, which works on iOS and Android. You can find the full description of how it works and how to include it in your app: https://github.com/andreinitescu/GridSplitterApp Here are some screenshots of the demo app: and a Grid with both horizontal and vertical splitters: The sample app also shows a technique to create reusable custom controls which you can style easily, very similar to how it works in WPF/UWP.

IconView control for Xamarin Forms

Image
Someone was asking on the forum how to draw a colored icon. I created an IconView control which does this: https://github.com/andreinitescu/IconApp/ The control takes a local image and applies a color on it. This is useful when you want to color images on the fly, without the need to have multiple images for different colors. At this moment the implementation is for Android and iOS. Contributions for Windows support are welcome! Usage An example of a Page using the IconView control: <? xml version = " 1.0 " encoding = " UTF-8 " ?> < ContentPage xmlns = " http://xamarin.com/schemas/2014/forms " xmlns:x = " http://schemas.microsoft.com/winfx/2009/xaml " x:Class = " IconApp.MyPage " xmlns:controls = " clr-namespace:IconApp;assembly=IconApp " > < controls:IconView Source = " monkey " Foreground = " Red " WidthRe...

Manually install Xamarin Studio addins

Just copy the .dll file to (note the Xamarin Studio version, it might be different today): on Windows : %LocalAppData%\XamarinStudio-5.0\LocalInstall\Addins on Mac : /Users/[YourUser]/Library/Application Support/XamarinStudio-5.0/LocalInstall/Addins Source: http://forums.xamarin.com/discussion/comment/6356/#Comment_6356