title: Android layout space-filling problem
body: <p>I'm having real difficulty coming up with a layout which works. I have a view which fills the width of the screen. It contains three sub-views:</p>
  
  <ol>
  <li>Some text</li>
  <li>A number in parentheses after the main text</li>
  <li>A button</li>
  </ol>
  
  <p>The button is right-aligned, and the text items are left-aligned one after the other, as shown:</p>
  
  <pre>
  | Some heading text (n)             [button]  |
  </pre>
  
  <p>The problem is controlling what happens when the text is too long. I want it like this, so that the number is always visible just to the right of the main text. The main text should be truncated if needed so the other two views remain visible.</p>
  
  <pre>
  | Some very very long headin... (n) [button]  |
  </pre>
  
  <p>The closest I've got which succesfully truncates the main text results in the (n) always being right-aligned next to the button even when the main text is short enough to fit. That's not what I want.</p>
  
  <p>How would you approach this?</p>
  
  <p>I'm not posting any of my current XML yet, lest it prejudice anyone's suggestions.</p>