Androidレイアウト

■FrameLayout
1)基本1つのviewのみ表示
2)複数のviewがあるときは最後に配置したものが表示される
3)上記特性を利用して透過画像を重ねる着せ替え人形のようなこともできる?

■gravity
テキスト文字の揃え
■layout_gravity
親要素に対して自分の位置を教える
■layout_weight
1)オブジェクトを配置するするときの占有比率を指定
2)例:Aは1番大きい、BボタンはAの半分で、CはB半分という配置の場合
A:android:layout_weight="1"
B:android:layout_weight="0.5"
C:android:layout_weight="0.25"
3)ボタンを均等配置させたい場合等はサイズ指定は"0dp"で行う
<LinearLayout 
    android:orientation="horizontal" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
>      
    <Button 
        android:layout_width="0dp" 
        android:layout_height="wrap_content" 
        android:layout_weight="1" 
        android:text="Left" 
        /> 
     
    <Button 
        android:layout_width="0dp" 
        android:layout_height="wrap_content" 
        android:layout_weight="1" 
        android:text="Right"   
    /> 
</LinearLayout>