title: Best practice for android layout
body: <p><a href="http://i.stack.imgur.com/gq685.png" rel="nofollow">Layout that I made</a></p>
  
  <p>Hi I am quite new to android(about 2 week) and read about layouts and attributes</p>
  
  <p>but implementing it in best way that is known to skilled programmer is confusing and can't get it on my own.</p>
  
  <p>I made layout but I don't think it's good implementation of view.</p>
  
  <p>on Image i attached, I used multiple LinearLayout in depth</p>
  
  <p>It looks like this. Used LinearLayout with layout_weight</p>
  
  <p><a href="http://i.stack.imgur.com/6OiJt.png" rel="nofollow">Layout I made</a></p>
  
  <p>is it better to use <code>&lt;relativeLayout&gt;</code> or <code>&lt;TableView&gt;</code> ?</p>
  
  <p>I want to efficiently implement these things.</p>
  
  <p>is it safe to use "XX dp" to ensure same look among different screens?</p>
  
  <p>Extra Question 1)
     Issues I faced when implementing.
    When multiple "match_parent", for example</p>
  
  <p>if I have something like </p>
  
  <p><code>&lt;LinearLayout orientation="horizontal"&gt; 
      &lt;TextView width="match_parent"&gt;
      &lt;TextView width="match_parent"&gt;
  &lt;/LinearLayout&gt;</code></p>
  
  <p>It behaves like framelayout so only one textView is displayed.</p>
  
  <p>What I want is have static table like view that has three fixed container in ratio 1:3:1</p>
  
  <pre><code>   1      3       1
   |_ _ |_ _ _ _ |_ _ |
  </code></pre>
  
  <p>How can this be done? How do I have to use "layout_weight" with
  "layout_width" property? Do I have to use "wrap_content"? and why?
  Can it be done with TableView??</p>
  
  <p>Thank you in advance</p>