Android - ScrollView like foursquare with maps + list

标签 android android-layout scrollview foursquare android-ui

这是 Android 等效于 this iOS 问题。

尝试创建一个 View ,其中包含大约 20% 的屏幕(在 ActionBar 下...)的 MapView,而屏幕的其余部分是一个 ScrollView,当向下滚动时,它会重叠在 MapView 的顶部并将其隐藏.简而言之,就像 FourSquare 的 Android 应用程序。 有什么想法吗?

最佳答案

我已经根据 AndroidSlidingUpPanel 做了一个实现(非常感谢这个项目)。

enter image description here

详情 http://android.amberfog.com/?p=915 带有示例的源代码:https://github.com/dlukashev/AndroidSlidingUpPanel-foursquare-map-demo

关于Android - ScrollView like foursquare with maps + list,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18491866/

相关文章:

android 可滚动 TextView 在 ScrollView 中不起作用

python - 忽略 ScrollView 中的滚动交互区域

android - 在 Android 中查找用户的当前位置

android - 从 Android 应用程序上传到 Picasa

java - Android JNI 无法使用 dlopen 成功加载库 - 但它曾经

java - 来自 APK 的源代码

android - RelativeLayout 中的按钮对齐不正确

android - 循环依赖不能存在于RelativeLayout,android?

java - 我可以动态修改对话框的布局吗?

ios5 - TouchesEnded 在 iOS5 中不起作用,在 iOS4 中工作正常