mardi 12 mai 2015

Adding Layout To The Bottom Of Screen in android

Hello Firends i m new in android development..i want to add layout like

    <header layout>(Fixed)
         |
         |
     <ScroolView>
         |
         |
    <Footer Layout>(Fixed)

i don't know how to do it ..if anyone know than help me

i had done something like this

 <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://ift.tt/nIICcg"
 xmlns:tools="http://ift.tt/LrGmb4"
 android:layout_width="match_parent"
 android:layout_height="match_parent" >

  <ScrollView
    android:id="@+id/container"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_above="@id/footer" >

  <LinearLayout
    android:id="@+id/liMain"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
 </LinearLayout>
 </ScrollView>   

thx in advance friends............

Aucun commentaire:

Enregistrer un commentaire