ScrollView标签要放到最外层,事例: <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="com.codingbigcat.unitcmtofeet.MainActivity"> <LinearLayout/>
时间: 2024-10-13 06:54:34