<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:fillViewport="true">
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:src="@drawable/huge"
android:scaleType="fitCenter" android:layout_weight="1" />
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- Insert your content here -->
</LinearLayout>
</LinearLayout>
</ScrollView>

android:fillViewport="true" 必须设置的啊

更多相关文章

  1. Android设置支持多种分辨率
  2. Android(安卓)WebView相关属性
  3. android设置属性
  4. Android(安卓)Desigin Library
  5. 基于Android(安卓)P 背光流程
  6. android:windowSoftInputMode属性使用
  7. android笔记
  8. 设置Android(安卓)app背景图片(Android(安卓)studio)
  9. 让Android支持透明状态栏

随机推荐

  1. 中年程序员的困惑
  2. 我们都是IT民工--流浪人IDE开发札记--牛
  3. 去芜湖、看房子、拿体检报告,魔幻的2021开
  4. 一个带有邮戳的锁StampedLock(jdk1.8出现)
  5. Android常用功能实例
  6. Flux
  7. Redux
  8. 手牵手一起学Springcloud(1)理解微服务
  9. 一个对任务分而治之的java类ForkJoin详解
  10. 5分钟学会mysql的逻辑架构原理