title: How to set LinearLayout HORIZONTAL using C# Xamarin
body: <p>Im trying to align controls in my Android App.</p>
  
  <p>I need to do this but using CODE / C# / Xamarin
  This:  android:orientation="horizontaly"</p>
  
  <p>This following code doesnt work in Xamarin (i guess good in java??):
  .setOrientation(LinearLayout.HORIZONTAL);</p>
  
  <p>The accepted Method is : .Orientation
  My code with missing/wrong code: see <em>*</em> below</p>
  
  <pre><code>LinearLayout LLMain = new LinearLayout(this);
  LLMain.Id = _intID;       
  LLMain.AddView(textView(_intID));
  LLMain.AddView(editText(_intID));
  LLMain.Orientation = LinearLayout.HORIZONTAL; ***
  linearlayoutList.Add(LLMain);
  return LLMain;
  </code></pre>
  
  <p>How do I set this value: ??? LinearLayout.HORIZONTAL; ????</p>
  
  <p>Thank you 
  Martin</p>