ZoomLayout์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. ๊ทธ ์์ ๋ค์๊ณผ ๊ฐ์ด ๋ฉ๋ด๋ก ์๋ํ๋ ๋ช ๊ฐ์ง ์ด๋ฏธ์ง
<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>
`
๊ทธ๋ฌ๋ ์ด๋ฌํ ํน์ ์ด๋ฏธ์ง ๋ณด๊ธฐ๊ฐ ํ๋/์ถ์ ๋ฅผ
ZoomLayout
์ ์ผ๋ถ๊ฐ ๋๋ ๊ฒ์ ์ํ์ง ์๋๋ค๋ฉด ์ ๊ทธ ์์ ๋ฃ์์ต๋๊น? ZoomLayout
์ธ๋ถ์ ๋ฉ๋ด๋ฅผ ์ค๋ฒ๋ ์ด๋ก ๋ฃ์ ์ ์์ต๋๊น?
ZoomLayout
์ ์ผ๋ถ๊ฐ ๋๋ ๊ฒ์ ์ํ์ง ์๋๋ค๋ฉด ์ ๊ทธ ์์ ๋ฃ์์ต๋๊น?ZoomLayout
์ธ๋ถ์ ๋ฉ๋ด๋ฅผ ์ค๋ฒ๋ ์ด๋ก ๋ฃ์ ์ ์์ต๋๊น?
์๋ํ์ง๋ง ImageViews
๊ฐ ์ฌ๋ผ์ง๋ ๋ฐ ์คํจํ์ต๋๋ค. ํ์ง๋ง ๋ ๊ทธ๋ฅ ์ฌ์ฐ์ ๋ฐ๊ฒฌ android: elevation
๋ก ๋ณ๊ฒฝ 2dp
๊ทธ๋ค์ ์ง๊ธํ๊ณ ์ค์๋ฐ์ง ์๊ณ ๋ฑ์ฅ .
๋ฌธ์ ๊ฐ์ฌํ๊ณ ์ฃ์กํฉ๋๋ค ๊ฒฐ๊ตญ์ ์๋ฑํ ๋ฌธ์ ์๋๋ฐ ์ฒซ ๋ฌธ์ ์๋ค์ ใ ใ ใ ใ
์๋ํ๊ฒ ๋์ด ๊ธฐ์ฉ๋๋ค :+1: