이것은 내 삼성 GT-I9003L과 관련하여 이상한 문제입니다. ScrollView (ImageView, Button, EditText 등) 안에 다른 물건이 들어있는 LinearLayout을 포함하고 있으며 2.3.3 및 4.2 버전 모두에서 에뮬레이터에서 테스트 할 때 완벽하게 작동합니다.Android ScrollView overscroll 표시기 문제
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scroll_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp" >
<ImageView
android:id="@+id/image"
android:layout_width="fill_parent"
android:layout_height="200dp"
android:contentDescription="@string/img_description"
android:src="@drawable/ic_launcher" />
<Button
android:id="@+id/btn_camera"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/add_new_btn_camera" />
<Button
android:id="@+id/btn_gallery"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/add_new_btn_gallery" />
<EditText
android:id="@+id/name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="@string/add_new_name_hint"
android:inputType="text"
android:maxLength="80" />
[...]
</LinearLayout>
</ScrollView>
것은 내가 내 휴대 전화에서 테스트 할 때 오버 스크롤 지표 (블루/오렌지가 점등) 전혀 표시되지 않는다는 것입니다. 나는 그들이이 라인 작업 얻을 관리했습니다 :
ScrollView addNewScroll = (ScrollView)findViewById(R.id.scroll_view);
addNewScroll.setOverScrollMode(ScrollView.OVER_SCROLL_IF_CONTENT_SCROLLS);
하지만 상단이나 말, 그냥 "이 나타납니다"글로우에 도달하면, 그렇지 애니메이션을 수행하거나
감사 페이드. 미리 도움을 청하십시오!
삼성이 휴대 전화에 넣은 UI (TouchWiz?) 때문일 것입니다 ... 어떻게 든 Android의 기본 설정을 무시합니다. – user219882
나는 그것을 의심하지 않습니다. 모든 제조업체는 표준을 준수해야하지만 그렇지 않습니다. 문제는 다른 응용 프로그램도 잘 작동한다는 것입니다 ... –