[android-developers] Re: ViewPager does not respect WRAP_CONTENT?

2013-12-02 Thread Streets Of Boston
The ViewPager specified WRAP_CONTENT as its width. What content? The ViewPager can show more than one page and only one is visible at a time. If it had to choose the 'content' to use to figure out how wide the WRAP_CONTENT width should be, which page should it use? WRAP_CONTENT doesn't make

[android-developers] Re: ViewPager does not respect WRAP_CONTENT?

2013-11-22 Thread gjs
Hi, Couldn't you just also add the linearlayout (with its textview) to the relative layout in (2) as you did in (1) ? And specifically, add and remove the linear layout to the collection in your instantiate destroy item methods instead of just the text view. Regards On Saturday, November