I've got two buttons, editEndDate and editEndTime, in a table row.
editEndDate takes up 25% of the row while the rest is taken up by
editEndTime.  I want the reverse, but nothing I do seems to make any
difference (this is why I hate CSS too!).  Here's the XML:

<TableRow
android:id="@+id/widget62b"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
    <Button
    android:id="@+id/editEndDate"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:layout_alignParentLeft="true"
    android:layout_weight="20"
    >
    </Button>
    <Button
    android:id="@+id/editEndTime"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:layout_alignParentRight="true"
    android:layout_weight="2"
    android:layout_toRightOf="@id/editEndDate"
    >
    </Button>
</TableRow>

You can see that editEndDate should be ridiculousl larger than editEndTime
but the same 25/75 ration exists.

What gives?

-- 

Faber Fedor
Cloud Computing New Jersey
http://cloudcomputingnj.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to