Question: I'm sure it's very simple and I'm just being stupid, but I've tried numerous variants and still can't get it working. What's worse - these 3 components are aligned exactly the way I want in the graphical editor in Eclipse, but not on the real device. I only get to align it to 50% for TextView and RadioGroup.

The XML goes like this currently (here I presumed RadioGroup is kind of LinearLayout):

```
 <RadioGroup 
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal" >

                <TextView
                        style="@style/ButtonStyle"
                        android:layout_width="wrap_content"
                        android:text="@string/CC_Direction_caption" />
                <RadioButton
                    android:id="@+id/rb_toCamera"
                    style="@style/ButtonStyle"
                    android:text="@string/CC_Backwards_Caption" />
               <RadioButton
                    android:id="@+id/rb_toInfinity"
                    style="@style/ButtonStyle"
                    android:text="@string/CC_Forwards_Caption" />

 </RadioGroup>

```

And the ButtonStyle is:

```
<item name="android:layout_width">0dip</item>
<item name="android:layout_height">70dp</item>
<item name="android:layout_weight">1</item>

```

And all this is inside a TableRow.

Answer: 
Try adding `android:layout_weight="1"` to all three elements. This specifies the relative weight every element has to the others. The higher this value is the less weight the element gets.

oh, and wrap everything in a linear layout (didn't see you didn't add a layout first).
Try changing layout\_width to "wrap\_content" for radio buttons as well. You have already done it for the text field.