<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xamarin on InternetException</title><link>https://internetexception.com/categories/xamarin/</link><description>Recent content in Xamarin on InternetException</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 23 Feb 2020 13:49:33 +0100</lastBuildDate><atom:link href="https://internetexception.com/categories/xamarin/index.xml" rel="self" type="application/rss+xml"/><item><title>Automatic scrolling to edited text box in Xamarin Android.</title><link>https://internetexception.com/2017/02/25/automatic-scrolling-to-edited-text-box-in-xamarin-android/</link><pubDate>Sat, 25 Feb 2017 14:48:00 +0100</pubDate><guid>https://internetexception.com/2017/02/25/automatic-scrolling-to-edited-text-box-in-xamarin-android/</guid><description>&lt;p&gt;&lt;strong&gt;Important note: this should work well with newer version of Xamarin (2.3.3). If you cannot update for some reason this article will explain workaround.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In previous article I explained how to detect show and hide events of software keyboard in Xamarin Android. I did it in my project because of the fact that some of text boxes was hidden by software keyboard that suppose to edit contents of those text boxes. In this article I will explain how to work around this issue in some older versions of Xamarin.&lt;/p&gt;</description></item><item><title>Detecting software keyboard events in Xamarin Android</title><link>https://internetexception.com/2017/02/03/detecting-software-keyboard-events-in-xamarin-android/</link><pubDate>Fri, 03 Feb 2017 23:31:00 +0100</pubDate><guid>https://internetexception.com/2017/02/03/detecting-software-keyboard-events-in-xamarin-android/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;It is quite strange that you can&amp;rsquo;t easily detect if software keyboard is visible or not on Android. Because of that, it is also complicated thing to do in Xamarin.&lt;/p&gt;</description></item><item><title>Xamarin Android Services Pattern on GPS example</title><link>https://internetexception.com/2017/01/30/xamarin-android-services-pattern-on-gps-example/</link><pubDate>Mon, 30 Jan 2017 04:17:00 +0100</pubDate><guid>https://internetexception.com/2017/01/30/xamarin-android-services-pattern-on-gps-example/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In Xamarin if you want to use many Android native service/mechanism you have to implement it in Activity class. Or at least that is how Xamarin documentation wants you to do it.&lt;/p&gt;</description></item><item><title>Xamarin Style based on implicit Style</title><link>https://internetexception.com/2016/04/22/xamarin-style-based-on-implicit-style/</link><pubDate>Fri, 22 Apr 2016 23:17:00 +0200</pubDate><guid>https://internetexception.com/2016/04/22/xamarin-style-based-on-implicit-style/</guid><description>&lt;p&gt;Next article about bugs in Xamarin will touch topic of Styles. Styles for all of controls not only Frame (and if you wondering why Frame you should check first two articles about Xamarin &lt;a href="https://internetexception.com/2016/04/22/xamarin-frame-and-style-with-padding/" title="Xamarin Frame and Style with Padding"&gt;here&lt;/a&gt;&#10; and &lt;a href="https://internetexception.com/2016/04/22/xamarin-frame-and-disappearing-outline/" title="Xamarin Frame and disappearing Outline"&gt;here)&lt;/a&gt;&#10;. First of all if you are using Styles in Xamarin you probably know how to define implicit styles. If not here is a sample:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-xml" data-lang="xml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;Application.Resources&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;ResourceDictionary&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;Style&lt;/span&gt; &lt;span class="na"&gt;TargetType=&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;Label&amp;#34;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;Setter&lt;/span&gt; &lt;span class="na"&gt;Property=&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;FontSize&amp;#34;&lt;/span&gt; &lt;span class="na"&gt;Value=&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;45&amp;#34;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;/Style&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;lt;/ResourceDictionary&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;&amp;lt;/Application.Resources&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Xamarin Frame and disappearing Outline</title><link>https://internetexception.com/2016/04/22/xamarin-frame-and-disappearing-outline/</link><pubDate>Fri, 22 Apr 2016 13:00:00 +0200</pubDate><guid>https://internetexception.com/2016/04/22/xamarin-frame-and-disappearing-outline/</guid><description>&lt;p&gt;This is another article in mini series of Xamarin bugs and workarounds for them :) Previous one you can find &lt;a href="https://internetexception.com/2016/04/22/xamarin-frame-and-style-with-padding/" title="Xamarin Frame and Style with Padding"&gt;here&lt;/a&gt;&#10;. This one is again about Frame control. I promise that another one will be about something else B) Issue can be observed when you bind BackgroundColor property of Frame control and something will trigger change of view model source property binded to background color.&lt;/p&gt;</description></item><item><title>Xamarin Frame and Style with Padding</title><link>https://internetexception.com/2016/04/22/xamarin-frame-and-style-with-padding/</link><pubDate>Fri, 22 Apr 2016 05:10:00 +0200</pubDate><guid>https://internetexception.com/2016/04/22/xamarin-frame-and-style-with-padding/</guid><description>&lt;p&gt;If you are a bit advanced with Xamarin you should already now that there is possibility of styling your controls almost like in WPF. Almost, because there is a few strange bugs involving this. For example there is a problem with styling a Padding property in Frame. Consider following Xaml of Xamarin application (I tested it in Android):&lt;/p&gt;</description></item></channel></rss>