twoway-view icon indicating copy to clipboard operation
twoway-view copied to clipboard

When set the orientation to Vertical,the layout_width="wrap_content" not work

Open Piasy opened this issue 10 years ago • 3 comments

it will force set the layout_width to match_parent; and when set orientation to Horizontal, it will set the layout_height to mach_parent;

Piasy avatar May 14 '15 15:05 Piasy

I have the same problem ,Any solution

alfredmack avatar Oct 30 '15 21:10 alfredmack

@alfredmack I have abandoned two way view in my project, the basic function of RecyclerView and LinearLayoutManager is enough for me.

Piasy avatar Oct 31 '15 02:10 Piasy

@piasy i cant figure it out,help with some sample code.

I have imageview and textview as two wayview item,i want the height of those item to stretch depending on the orientation of device.i have tried to use wrap_content but it doesnt work

alfredmack avatar Oct 31 '15 15:10 alfredmack