结合刷卡标签用粘头 [英] Combining swipe tabs with sticky header

查看:176
本文介绍了结合刷卡标签用粘头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个Twitter客户端Android版上。对于纵断面图,我们想用一个报头部分粘在上面,就像在谷歌Play报刊(这是pretty的越野车)和Google+个人资料页。

I'm working on a Twitter client for Android. For the profile view we want to use a header that partially sticks to the top, like in Google Play Newsstand (which is pretty buggy) and the Google+ profile page.

我成功地实现了一个简单的列表视图感谢罗马Nurik的滚动技巧一粘杆和<一HREF =htt​​ps://github.com/ideaismobile/An​​droid-ScrollViewTricks>这个GitHub的项目。 Swipeable标签很容易自动生成与工作室。问题是,我不能给他们适当地结合起来,而我所做的一切感觉就像一个肮脏的黑客。

I managed to implement a sticky bar with a simple listview thanks to Roman Nurik's Scrolling Tricks and this GitHub project. Swipeable tabs were easily autogenerated with Studio. The problem is that I'm not able to combine them properly, and everything I do feels like a dirty hack.

推荐答案

尝试看看这些文章:

  • Android-ParallaxHeaderViewPager
  • The old design of the Airbnb app
  • Making That Google Plus Profile Screen

这篇关于结合刷卡标签用粘头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆