Click on child is enabled even when disabled in xml
See original GitHub issueSteps to reproduce :
<com.otaliastudios.zoom.ZoomLayout
android:id="@+id/zoom_layout"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_margin="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/midGuideline"
android:scrollbars="horizontal|vertical"
app:hasClickableChildren="false"
app:horizontalPanEnabled="false"
app:verticalPanEnabled="false"
app:zoomEnabled="false">
<fr.hozakan.skylines.ui.ColorGridView
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</com.otaliastudios.zoom.ZoomLayout>
Touches where made in the circles (drawn on screen, not code modification), reflecting the touch as indicated, in a subset of the view, so I guess the issue is part due to matrix (since displaying touch at bad position but keeping ratio), part to a flag that should be updated/listened by the view.
Thank you for your work!
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
How to disable all click events of a layout? - Stack Overflow
You can pass View for disable all child click event. public static void enableDisableView(View view, boolean enabled) { view.setEnabled(enabled); if ( view ...
Read more >How to Enable/Disable Click Listener on Views in Android?
Navigate to the app > res > layout > activity_main. xml and add the below code to that file. Below is the code...
Read more >HTML DOM Input Checkbox disabled Property - W3Schools
Definition and Usage. The disabled property sets or returns whether a checkbox should be disabled, or not. A disabled element is unusable and...
Read more >ListView - Android Developers
android:soundEffectsEnabled, Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.
Read more >K44151603: Overview of the BIG-IP ASM XML profile - AskF5
The default is disabled, but after you upload a WSDL to the XML ... Delete: Click the Delete button to remove the selected...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That assumes you would read the documentation which does not seem to be the case. It’s already there.
This issue has been automatically marked as stale because it has not had activity in the last 20 days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.