Open benteyCode opened 6 years ago
你可以设置item的间距,目前我是这样解决的
邮箱:893381563@qq.com
签名由 网易邮箱大师 定制 在2018年01月22日 15:13,frogprince 写道: 遇到同样问题,请问找到解决方法了吗?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/alibaba/UltraViewPager","title":"alibaba/UltraViewPager","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/alibaba/UltraViewPager"}},"updates":{"snippets":[{"icon":"PERSON","message":"@frogprinces in #77: 遇到同样问题,请问找到解决方法了吗?"}],"action":{"name":"View Issue","url":"https://github.com/alibaba/UltraViewPager/issues/77#issuecomment-359342200"}}}
具体指的是啥,我设置item的margin不管用
@pys200603027 可以在你的每一页view里面留间距
@pys200603027 可以在你的每一页view里面留间距 setMultiScreen后默认间距已经很大了,在设置更大,我想变小,而且能展示多屏
我发现,ScaleTransformer in horizontal with multi screen模式下,在UltraPagerAdapter的instantiateItem中返回的view 设置layoutParams的leftMargin,rightMargin不管用,我用的Horizontal with multi screen模式,返回的item自己设置边距。
请问最后怎么弄的,设置margin没用
同问,这个问题,默认间距已经很大了,在设置更大,我想变小,而且能展示多屏
遇到同样问题,请问找到解决方法了吗?