Android : Arranging buttons on the left and image button on the right in the same row and same background

on Saturday, December 6, 2014


Need help for arranging button on the left and image button on the right in the same row and same background. Below is my code



<Button
android:id="@+id/5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:background="#E7FEFF"
android:text=" 5" />

<ImageButton
android:id="@+id/buslogo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/chart" />
</TableRow>

0 comments:

Post a Comment