On Sat, Apr 23, 2011 at 9:28 AM, KevinP1988 <[email protected]> wrote:

>  I would like that they are drawn underneath eachother and not next to each
> other.
>

Set the orientation on the LinearLayout to vertical - the default is
horizontal (I don't know why).


> Also how can I add some styles to dynamically added buttons?


Try reading the documentation. One of the first topics for Button is setting
the style.
http://developer.android.com/reference/android/widget/Button.html

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

-- 
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