Wie kann man Relative layout am unteren Bildschirmrand(oder linearer Anordnung).?

Habe ich Folgendes in der xml

Ich will die zweite lineare layout am unteren Rand des Bildschirms.
Wie kann ich das tun?
Ich habe die Eigenschaft der zweiten Relativen layout nach unten, aber immer noch nicht angezeigt unten..

**

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_height="fill_parent" 
    android:layout_width="fill_parent">    
<RelativeLayout android:id="@+id/RelativeLayout01" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content">   
</RelativeLayout>
<RelativeLayout android:id="@+id/RelativeLayout02" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content">   
</RelativeLayout>
<RelativeLayout android:layout_height="wrap_content" 
    android:layout_width="fill_parent"
    android:layout_gravity="bottom">
</RelativeLayout>
</LinearLayout>

**
Danke im Voraus

  • Ich will die zweite relative layout am unteren Rand des Bildschirms
InformationsquelleAutor Sandy | 2010-09-27
Schreibe einen Kommentar