diff options
author | David Morrissey <davemorrissey@gmail.com> | 2014-05-26 22:23:36 +0100 |
---|---|---|
committer | David Morrissey <davemorrissey@gmail.com> | 2014-05-26 22:23:36 +0100 |
commit | 9efe3c828dc3d02bcdf963793fbfd2add5b6152c (patch) | |
tree | 64f287dd56a5c3c1edaac923b5918fe5608605b7 /sample | |
parent | 4a6884f50b0dbe41bd3fdefde5e4e3c1095a1c0b (diff) | |
download | subsampling-scale-image-view-9efe3c828dc3d02bcdf963793fbfd2add5b6152c.tar.gz |
Send onImageReady off UI thread to avoid blocks
Diffstat (limited to 'sample')
-rw-r--r-- | sample/res/layout/main.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/res/layout/main.xml b/sample/res/layout/main.xml index 48d9fce..f878285 100644 --- a/sample/res/layout/main.xml +++ b/sample/res/layout/main.xml @@ -8,7 +8,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/pager" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="wrap_content" /> </RelativeLayout> |