Android linearLayout problem -


this first post here, stuck linearlayout, have linearlayout(horizontal) 3 buttons in of set third button layout_weight=1 takes whole space in linearlayout pretty working properly.

but when put layout in horizontalscrollview weight property doesnt works me, want display 2 button horizontally on whole screen width , when scrolled third button should appear taking whole width of screen hiding both buttons not happening.

regard's saurabh agnihotri

you cant horizontal scroll view. can 1 thing.. take view flipper , take 2 layout in it. in 1 layout there 2 buttons giving weight 1. , in second layout put button , give width fill_parent. use gesture listener move view flippers layouts. horizontal scroll view.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -