rows with intents

0 views
Skip to first unread message

sahir contractor

unread,
Feb 9, 2011, 6:41:31 PM2/9/11
to Purdue Android Programming
hi guys,
im trying to split my screen into two rows, and then each row should
call a coverflow class with an intent.
right now i can have just one coverflow and this works fine so
essentially im asking how to have 2 or more individual coverflows
running at the same time.
Thanks,

Jaye Franklin

unread,
Feb 10, 2011, 9:49:56 AM2/10/11
to purdue-androi...@googlegroups.com
I'm guessing that coverflow is a view. If you create, in your xml, two rows using LinearLayout you can specify the weight of the two LinearLayout. The weight determines based on some integer given the space taken by each layout. if you give each layout the same weight they will be given equal screen space. This should solve your problem. The weight attribute is android:layout_weight.
--

-John Franklin Jr.

Reply all
Reply to author
Forward
0 new messages