Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

叠加在ZoomLayout上面的图层不显示 #234

Open
sunlunchang1994 opened this issue Sep 7, 2023 · 0 comments
Open

叠加在ZoomLayout上面的图层不显示 #234

sunlunchang1994 opened this issue Sep 7, 2023 · 0 comments

Comments

@sunlunchang1994
Copy link

        <com.otaliastudios.zoom.ZoomLayout
            android:id="@+id/zoomLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="vertical|horizontal"
            app:alignment="center"
            app:animationDuration="280"
            app:flingEnabled="true"
            app:hasClickableChildren="false"
            app:horizontalPanEnabled="true"
            app:maxZoom="2.5"
            app:maxZoomType="zoom"
            app:minZoom="0.7"
            app:minZoomType="zoom"
            app:oneFingerScrollEnabled="true"
            app:overPinchable="false"
            app:overScrollHorizontal="false"
            app:overScrollVertical="false"
            app:scrollEnabled="true"
            app:threeFingersScrollEnabled="false"
            app:transformation="none"
            app:transformationGravity="auto"
            app:twoFingersScrollEnabled="false"
            app:verticalPanEnabled="true"
            app:zoomEnabled="true">

            <View
                android:id="@+id/mapView"
                android:layout_width="2123dp"
                android:layout_height="854dp" />
        </com.otaliastudios.zoom.ZoomLayout>

        <android.slc.main_biz.ui.widget.MapLayout
            android:id="@+id/mapLayout"
            android:layerType="software"
            android:background="#01000000"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
        </android.slc.main_biz.ui.widget.MapLayout>
    </FrameLayout>

如图所示 MapLayout onDrawable无法显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant