Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建具有两个独立部分的自定义视图,每个部分都是可滑动的?例如 iPad Zillow -> http://www.zillow.com/ipad/
我想知道这是否也可以在主屏幕上完成,而不仅仅是在新应用程序中......
如何创建具有两个独立部分的自定义视图,每个部分都是可滑动的?
我怀疑这将是 Android 中的“自定义视图”。Zillow 风格的主要活动是 a MapView、 aListView和 an ImageView(用于照片),使用LinearLayouts或 aRelativeLayout用于组织。
MapView
ListView
ImageView
LinearLayouts
RelativeLayout
如果您编写自己的主屏幕,当然可以。