• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps adding a row containing 4 butons after list of itesms

malayappa

Lurker
Hi all
we have list of items displaying following is code

Code:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="10dp"
    android:textSize="16sp" android:background="@color/white">
        
</TextView>

after this list we need to add a row containing 4 buttons

please provide some help

Thanks&Regards
 
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!
 
Back
Top Bottom