are you using a listview or no? i'll assume no ... yes, to get three
views positioned horizontally across the page, you would use a
LinearLayout and specify android:orientation="horizontal".
On 10/18/09 2:00 AM, Clave Yard wrote:
Do you mean, using layout we can't achieve this? Is there
any sample provided by Android team to do such thing, creating custom
controls?
--- On Sun, 10/18/09, Jeffrey Blattman <jeffrey.blatt...@gmail.com>
wrote:
From: Jeffrey Blattman <jeffrey.blatt...@gmail.com>
Subject: [android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:
To: android-beginners@googlegroups.com
Date: Sunday, October 18, 2009, 8:48 AM
i assume you mean you want your list
view's rows to be complex. in
summary,
1. create a custom adapter
2. in the adapter's getView(), inflate your custom view and populate it
as you wish
On 10/18/09 1:03 AM, Clave Yard wrote:
ALL,
CAN SOME ONE TELL ME HOW TO MAKE THREE CONTROLS IN A SINGLE LINE USING
LAYOUT? I WANT TO SHOW AN IMABE, A BUTTON AND TEXT LABEL IN A SINGLE
LINE. I TRIED THAT ON LAYOUT IN ECLIPSE. BUT IT ACCEPTS ONLY ONE
CONTROL FOR ONE LINE, IF ADD NEXT CONTROL IT GOES TO NEXT LINE(ROW). I
WANT TO MAKE THREE CONTROLS TO BE IN SINGLE LINE. HOW DO I ACHIEVE THIS?
APPRECIATE YOUR HELP ON THIS.
|
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---
--

|
--

|