horizontal view increasing the size of a text box

by green hoodlum » Sat, 14 May 2011 11:57:37 GMT

Sponsored Links

i'm currently attempting to work out how to have 4 text boxes, 2 per
row. i don't have a problem implementing this with a tablelayout/
tablerow where the text boxes of equal sizes.


box1  box2
box3  box4

what i'd like to try is to have the 4th box to be a larger size.

so for instance either:

box1  box2
box3  box4   <--the height of box4 stretches to the end of  the


box1     box4  <-- box4 spans the width of box1-3

any advice is appreciated.



Re: horizontal view increasing the size of a text box

by TreKing » Sun, 15 May 2011 03:54:20 GMT


Use RelativeLayout.

TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. Google uses own database for Google Maps in the US - impact on Maps API ToS?

Don't expect them to be changing the ToS to anything more lenient
until after they are *exclusively* using their own data. Until then,
some of the data used will still be subject to the agreement made
between google and whatever other map provider they use, which will
most likely (regardless of the provider) mean no turn-by-turn
directions or significant local caching.


2. Android Developers - Don't miss your chance to regisetr for upcoming Sprint dev conf Oct 26 in Santa Clara

Come join Sprint at our upcoming developer conference Oct 26-28, in
Santa Clara, CA - http://developer.sprint.com/devcon2009

Some things of interest to Android developers
1: Sprint is partnering with HTC to give away 400 HTC hero devices at
our upcoming Sprint Developer Conference,
. The 400 devices will be provisioned for one month of service, and
will be given to the first 400 attendees of the Android coding lab
being held the evening of Oct 26 to attendees that show up with their
laptops set up with Android 1.5 development environment. Mark Murphy
of CommonsWare willlead the Android platform training session. Murphy
has published three guides on Android development and writes the
"Building 'Droids" column for AndroidGuys and the "Android Angle"
column for NetworkWorld.

2: Google will be presenting at the Sprint Developer Conference, Wed
Oct 28 from 8:30am - 11:00am. Topics covered will incude the Android
Marketplace as well as Android Technical SMEs discussing development
best practices.

3: We will be covering a lot of other topics besides Android
Development, and those are outlined in our detailed conference agenda
at the conference website http://developer.sprint.com/devcon2009

Also we have launched a section dedicated to Android development
support on Sprint devices (HTC Hero and Samsung Moment)
http://developer.sprint.com/android - we are already seeing some of
the questions from these forums come over there and will address those
questions that relate to the handset technology or android
- Showcase how to utilize free Sprint network services such as LBS
(where are my friends/co-workers / Geofencing, Messaging, Presence)
- We also have some initial FAQs to address developing for Sprint
- We will continue to add content to the section and looking for any
developer feedback on this

Sprint Application Developer Program


3. How to install android market?

4. People still using ADC2 entries

5. How to disable the soft keyboard for the EditText control in sdk1.1

6. Cannot select a row in SimpleCursorAdapter with custom layout

7. ListActivity implements OnItemLongClickListener