title: Right to left layout support
body: <p>I'm trying to support Arabic language right to left layout support but turns out there is no way you can support right to left in Xamarin Forms.</p>
  
  <p>I even tried dependency service and called right to left layout by myself. Here is the code:</p>
  
  <pre><code>public CultureInfo SetLocale(string locale)
      {
          var netLocale = locale.Replace("_", "-");
          var ci = new CultureInfo(netLocale);
  
          Thread.CurrentThread.CurrentCulture = ci;
          Thread.CurrentThread.CurrentUICulture = ci;
  
          if (Build.VERSION.SdkInt &gt;= Android.OS.BuildVersionCodes.JellyBeanMr1)
          {
              // Change locale settings in the app.
              var dm = Forms.Context.Resources.DisplayMetrics;
              var conf = Forms.Context.Resources.Configuration;
              conf.Locale = new Java.Util.Locale(locale);
              Forms.Context.Resources.UpdateConfiguration(conf, dm);
  
              if (locale == "en")
                  (Forms.Context as MainActivity).Window.DecorView.LayoutDirection = Android.Views.View.LayoutDirectionLtr;
              else
                  (Forms.Context as MainActivity).Window.DecorView.LayoutDirection = Android.Views.View.LayoutDirectionRtl;
          }
  
          return ci;
      }
  </code></pre>