I'm using the ZoomLayout, inside of it I have some imageviews that work as a menu, like that:
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<com.otaliastudios.zoom.ZoomLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/skyZoomLayout"
app:minZoom="1.0"
app:maxZoom="5.0"
app:hasClickableChildren="true">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/sky">
<ImageView
android:id="@+id/button1 >
<ImageView
android:id="@+id/button1 >
</FrameLayout>
</com.otaliastudios.zoom.ZoomLayout>
</layout>
`
But I don't want these specific imageviews to receive the zoom, because they're a simple static menu on the bottom-left part of the screen. Is there a way to do it?
If you don't want them to be a part of the ZoomLayout
why did you put them inside of it? Can you put your menu outside of the ZoomLayout
as an overlay?
If you don't want them to be a part of the
ZoomLayout
why did you put them inside of it? Can you put your menu outside of theZoomLayout
as an overlay?
I had tried it, but unsuccesfully, because the ImageViews
used to disappear. But I just found out the property android: elevation
, changed it to 2dp
and they're now appearing without receiving the zoom.
Thanks and sorry for the issue, at the end it was a silly problem, but it was my first issue hahah.
Glad you got it working :+1: