Skip to content

Commit b5facf5

Browse files
committed
Zerg
s
1 parent 95c5152 commit b5facf5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/android/InstagramDialog.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class InstagramDialog extends Dialog {
3131
static final float[] DIMENSIONS_LANDSCAPE = { 460, 260 };
3232
static final float[] DIMENSIONS_PORTRAIT = { 280, 420 };
3333
static final FrameLayout.LayoutParams FILL = new FrameLayout.LayoutParams(
34-
ViewGroup.LayoutParams.FILL_PARENT,
35-
ViewGroup.LayoutParams.FILL_PARENT);
34+
ViewGroup.LayoutParams.WRAP_CONTENT,
35+
ViewGroup.LayoutParams.WRAP_CONTENT);
3636
static final int MARGIN = 4;
3737
static final int PADDING = 2;
3838

@@ -142,6 +142,9 @@ public void onPageFinished(WebView view, String url) {
142142
}
143143
Log.d(TAG, "onPageFinished URL: " + url);
144144
mSpinner.dismiss();
145+
//mWebView.setLayoutParams(FILL);
146+
//mWebView.getContentHeight();
147+
145148
}
146149

147150
}

0 commit comments

Comments
 (0)