i have this layout
<LinearLayout android:id="@+id/llcmd"
android:orientation="horizontal"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_gravity="center_horizontal">
<Button android:layout_height="wrap_content" android:id="@+id/
viewEvtsDone"
android:layout_width="wrap_content"
android:text="Delete"></Button>
<Button android:layout_height="wrap_content" android:id="@+id/
viewEvtsCancel"
android:layout_width="wrap_content"
android:text="Cancel"></Button>
</LinearLayout>
I want these 2 buttons always appear centr aligned in the
linearlayout. I dont want to use hard coded values (as it is upsetting
the positions when orientation changes)
How can i make it possible ? or is it not possible ?
regards
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en