在我的应用程序中,我有一个活动,其中包含底部的图像和列表视图。以下是活动中要做的事情。
1. the image view at the top of the page must be of swipe type to show other images.
2. when the list view gets scrolled the image must get moved along with it.
3. in the same activity i have a button, when the button is clicked the image must be switcher over to be a mapview.
我所做的是,
1. I have the image view and mapview in view switcher of a separate layout named as header
2. The header layout is been added in the list view header part.
现在,当列表视图滚动时,标题部分随之滚动,同样,当视图切换时,我能够在图像视图和地图视图之间切换。但是地图似乎是固定的,无法移动以查看各个点
如何在列表视图标题的地图视图内移动。