aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorDavid Morrissey <davemorrissey@gmail.com>2014-05-26 22:23:36 +0100
committerDavid Morrissey <davemorrissey@gmail.com>2014-05-26 22:23:36 +0100
commit9efe3c828dc3d02bcdf963793fbfd2add5b6152c (patch)
tree64f287dd56a5c3c1edaac923b5918fe5608605b7 /sample
parent4a6884f50b0dbe41bd3fdefde5e4e3c1095a1c0b (diff)
downloadsubsampling-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.xml2
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>