adding a row containing 4 butons after list of itesms


Last Updated:

  1. malayappa

    malayappa New Member This Topic's Starter

    Joined:
    Mar 27, 2010
    Messages:
    1
    Likes Received:
    0
    Hi all
    we have list of items displaying following is code

    Code (Text):
    1.  
    2. <?xml version="1.0" encoding="utf-8"?>
    3. <TextView xmlns:android="http://schemas.android.com/apk/res/android"
    4.     android:layout_width="fill_parent"
    5.     android:layout_height="fill_parent"
    6.     android:padding="10dp"
    7.     android:textSize="16sp" android:background="@color/white">
    8.        
    9. </TextView>
    10.  
    11.  
    after this list we need to add a row containing 4 buttons

    please provide some help

    Thanks&Regards
     

    Advertisement
  2. KlaymenDK

    KlaymenDK Well-Known Member

    Joined:
    May 29, 2009
    Messages:
    1,217
    Likes Received:
    130
    Welcome to the forum! :D

    Have you read the official documentation on layouts?

    What you need is basically:
    -- one LinearLayout, in vertical orientation, with two sub-elements:
    ---- your existing TextView;
    ---- another LinearLayout, in horizontal orientation, with your four buttons as further sub-elements.
    That should put four buttons side-by-side underneath your TextView.

    :) Good luck!
     

Share This Page

Loading...