On Thu, Jun 24, 2010 at 5:40 PM, cindy <[email protected]> wrote: > I need to lay out 3 components on screen, text string, text input and > image button. > I am using linear layout. I put text alight left, image button alight > right. I want text input occupy the reminding space of screen. How > could I do that?
Use android:layout_weight="1" on the EditText. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

