lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

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

Open Piasy opened 9 years ago

Piasy commented 9 years ago

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;

alfredmack commented 8 years ago

I have the same problem ,Any solution

Piasy commented 8 years ago

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

alfredmack commented 8 years ago

@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