ScrollView 内的 NestedScrollView 不为 API17 滚动
NestedScrollView inside a ScrollView is not scrolling for API17
我在将相对布局作为父视图的 ScrollView 中有一个 NestedScrollView。现在,当我 运行 我的应用程序在 Android 6.0 或 API23 上时,它的 运行 平滑并且 NestedScrollView 也在滚动。但是,当我 运行 我的应用程序在 Android 4.2.2 或 API17 上时,除了 NestedScrollView 之外一切正常。我不知道为什么会这样。我经历了其他 SO 问题,但 none 正在处理我遇到的那种问题..
这是我的布局:-
<ScrollView>
<Other Views/>
<Other Views/>
<NestetScrollView>
<CustomTextView/>
</NestetScrollView>
</ScrollView>
感谢任何帮助。
尝试将其更改为这种格式,看看是否可行:
<NestetScrollView>
<Other Views/>
<Other Views/>
<ScrollView>
<CustomTextView/>
</ScrollView>
</NestetScrollView>
我在将相对布局作为父视图的 ScrollView 中有一个 NestedScrollView。现在,当我 运行 我的应用程序在 Android 6.0 或 API23 上时,它的 运行 平滑并且 NestedScrollView 也在滚动。但是,当我 运行 我的应用程序在 Android 4.2.2 或 API17 上时,除了 NestedScrollView 之外一切正常。我不知道为什么会这样。我经历了其他 SO 问题,但 none 正在处理我遇到的那种问题..
这是我的布局:-
<ScrollView>
<Other Views/>
<Other Views/>
<NestetScrollView>
<CustomTextView/>
</NestetScrollView>
</ScrollView>
感谢任何帮助。
尝试将其更改为这种格式,看看是否可行:
<NestetScrollView>
<Other Views/>
<Other Views/>
<ScrollView>
<CustomTextView/>
</ScrollView>
</NestetScrollView>