We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d8dbc commit 966b37aCopy full SHA for 966b37a
sample/src/com/davemorrissey/labs/subscaleview/sample/configuration/ConfigurationActivity.java
@@ -141,13 +141,13 @@ private void updateNotes() {
141
imageView.setDebug(false);
142
}
143
if (position == 2) {
144
- imageView.setScaleAndCenter(1f, new PointF(0, 0));
+ imageView.setScaleAndCenter(0f, new PointF(1228, 816));
145
imageView.setPanEnabled(false);
146
} else {
147
imageView.setPanEnabled(true);
148
149
if (position == 3) {
150
+ imageView.setScaleAndCenter(1f, new PointF(1228, 816));
151
imageView.setZoomEnabled(false);
152
153
imageView.setZoomEnabled(true);
0 commit comments