I'm close to that now...  I'm running a large text size to get the
height where I want it, but it's not exact and I want this to work on
multiple handsets.

On Jan 18, 7:44 am, schwiz <[email protected]> wrote:
> there may be a better way but I start with a large text size and run a
> loop checking if the paint.measurestring > getwidth and decrement text
> size each time.
>
> On Jan 18, 7:39 am, Breezy <[email protected]> wrote:
>
> > I've a textview I want to span almost the length of the screen, then 2
> > buttons at the bottom.
>
> > Right now I'm using a relative layout with a textview and two buttons
> > and I can almost get it the way I want but the only thing is the
> > textview isn't as long as I want it.  I want it to be as long as
> > necessary for whatever handset is using it.  So a constant pixel
> > amount is out.
>
> > Lets see if this will work.
>
> > -------------------------------------
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |                                             |
> > |----------------     ----------------|
> > ||                  |     |                   ||
> > |----------------     ----------------|
> > -------------------------------------
-- 
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

Reply via email to