Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Clicking on Fragment goes through in Activity

//Set the clickable property to true so that the click event 
//gets consumed only on the foreground fragment.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:clickable="true" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Clicking #Fragment #Activity
ADD COMMENT
Topic
Name
7+7 =