We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi I'm using the following code but could not get ZoomLayout child view centered:
<com.otaliastudios.zoom.ZoomLayout android:layout_width="match_parent" android:layout_height="450dp" android:layout_gravity="center" android:scrollbars="vertical|horizontal" app:horizontalPanEnabled="true" app:verticalPanEnabled="true" app:zoomEnabled="true" app:hasClickableChildren="true"> <com.xiaopo.flying.sticker.StickerView android:id="@+id/sticker_view" android:layout_width="253dp" android:layout_height="450dp" android:layout_gravity="center" android:background="#CCC" app:showBorder="true" app:showIcons="true" /> </com.otaliastudios.zoom.ZoomLayout>
The result: The grey area view should in center
The text was updated successfully, but these errors were encountered:
i have same problem
Sorry, something went wrong.
Did you try setting transformationGravity?
I'm closing this because of inactivity. Feel free to reopen if your issue persists.
I have tried transformationGravity = "center", but issue not resolved @markusressel
No branches or pull requests
Hi I'm using the following code but could not get ZoomLayout child view centered:
The result:
The grey area view should in center
The text was updated successfully, but these errors were encountered: