Align targets to edge of screen, or count edge touches.

Corner case:

Swipe right to see the edge case.

Edge case:

			
			    <ImageButton
			        android:id="@+id/edge_area_ib_1_example1" 
			        android:layout_width="wrap_content"
			        android:layout_height="wrap_content"
			        android:src="@drawable/ic_square_icon"
			        android:contentDescription="@string/edge_area_image"
			        android:layout_alignParentLeft="true"
			        android:paddingTop="10dp"
					android:background="@drawable/image_border"/> 
					android:layout_marginBottom="10dp"
					android:background="@drawable/image_border"/>
				
				<ImageButton
			        android:id="@+id/edge_area_ib_2_example1" 
			        android:layout_width="wrap_content"
			        android:layout_height="wrap_content"
			        android:src="@drawable/ic_square_icon"
			        android:contentDescription="@string/edge_area_image"
			        android:layout_alignParentRight="true"
			        android:paddingTop="10dp"
			        android:paddingRight="25dp"
			        android:background="@drawable/image_border"/>