How do I tell when an image is clipped?
问题 If I have a LinearLayout containing ImageViews, how could I write code to tell which, if any, is clipped by the edge of the screen? <LinearLayout android:id="@+id/imagecontainer" android:orientation="horizontal" android:layoutHeight="wrap_content" android:layoutWidth="fill_parent"> <ImageView android:id="@+id/image1" .../> <ImageView android:id="@+id/image2" .../> ... <ImageView android:id="@+id/imageN" .../> </LinearLayout> I imagine something like, which would return an index or 0 if nobody