android - How to align buttons below textview in linear layout -


i have table , each cell have text , 3 buttons.

i want buttons aligned right below text view can't them align that.

this layout:

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:orientation="horizontal"     android:descendantfocusability="blocksdescendants">      <textview         android:id="@+id/name"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:paddingbottom="15dip"         android:paddingleft="5dip"         android:textstyle="bold"         android:paddingtop="5dip"         android:textcolor="#000000"         android:textsize="16dip"         android:layout_torightof="@+id/track_no"/>      <linearlayout         android:id="@+id/c1"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:orientation="horizontal">          <imagebutton ../>          <imagebutton ../>          <imagebutton ../>     </linearlayout> </linearlayout> 

have tried changing top linearlayout's orientation vertical ? this.

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:orientation="vertical"     android:descendantfocusability="blocksdescendants"> 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -