I need to freeze the first two items of every row in a horizontal listview. When i do a horizontal scroll the rest of the items should go beneath the fixed/freezed items. For this reason i wanted two layouts , add all the fixed elements to one layout and add all the free items in another.
On Nov 24, 10:57 pm, TreKing <[email protected]> wrote: > On Thu, Nov 24, 2011 at 2:15 AM, Dav <[email protected]> wrote: > > Can i create two linearlayouts inside the onLayout method (i am > > extending from adapterview)? . > > Yes, you can create two LinearLayouts. Whether this will actually work as > you expect is another question. > > > I want to add couple of views into the firstlayout and add rest of the > > views into the second linearlayout . Is this possible ? > > Yes, this is possible. Whether this will actually work as you expect is > another question. > > Why create this layouts in onLayout? Why not create them in XML and put > them in custom layout at design or initialization time? > > --------------------------------------------------------------------------- > ---------------------- > 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

