capacitor-sso-webview 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -57,8 +57,7 @@ public class SSOWebView {
|
|
|
57
57
|
tvTitle.setText(title != null ? title : "Login");
|
|
58
58
|
tvTitle.setTextColor(Color.WHITE);
|
|
59
59
|
tvTitle.setTextSize(16);
|
|
60
|
-
tvTitle.setLayoutParams(new LinearLayout.LayoutParams(
|
|
61
|
-
0, ViewGroup.LayoutParams.WRAP_CONTENT, 1 f));
|
|
60
|
+
tvTitle.setLayoutParams(new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1f));
|
|
62
61
|
|
|
63
62
|
TextView btnClose = new TextView(activity);
|
|
64
63
|
btnClose.setText("Tutup");
|
|
@@ -178,8 +177,7 @@ public class SSOWebView {
|
|
|
178
177
|
}
|
|
179
178
|
});
|
|
180
179
|
|
|
181
|
-
webView.setLayoutParams(new LinearLayout.LayoutParams(
|
|
182
|
-
ViewGroup.LayoutParams.MATCH_PARENT, 0, 1 f));
|
|
180
|
+
webView.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 0, 1f));
|
|
183
181
|
|
|
184
182
|
root.addView(header);
|
|
185
183
|
root.addView(webView);
|