Wie ein Linearlayout an der Unterseite in einem Relativelayout in android
Ich muss ein linearer Anordnung an der Unterseite in einem relativelayout, das ist das höchste übergeordnete Element in xml. Wie kann ich dies tun?
Bitte helfen Sie mir.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<RelativeLayout ....... <<--- this should occupy total available space
</Relativelayout
<Linearlayout ....... <<-- this should place at bottom always with height 50dp
</LineaLayout>
</ReltiveLayout>
Nur ein Tipp : Bitte tun einige googeln oder schauen Sie sich ähnliche Fragen auf, SO dass vor der Veröffentlichung der Frage.
InformationsquelleAutor SANDHYA | 2012-06-02
Du musst angemeldet sein, um einen Kommentar abzugeben.
Bitte versuchen Sie dies:
richten Sie unten im xml-Code aus dem oben genannten Attribut.
InformationsquelleAutor Shankar Agarwal
Versuchen Sie es mit diesem:
InformationsquelleAutor Ant4res
verwenden Sie diese
InformationsquelleAutor NagarjunaReddy
gefunden allgemeineren Weg, dies zu tun
InformationsquelleAutor