Commit 549cd182eb15eca242217ea0fb68eb090c261a97
1 parent
666971bf
Exists in
yxb_dev
and in
1 other branch
no message
Showing
2 changed files
with
3 additions
and
13 deletions
Show diff stats
.idea/runConfigurations.xml
| ... | ... | @@ -1,12 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<project version="4"> | |
| 3 | - <component name="RunConfigurationProducerService"> | |
| 4 | - <option name="ignoredProducers"> | |
| 5 | - <set> | |
| 6 | - <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" /> | |
| 7 | - <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" /> | |
| 8 | - <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" /> | |
| 9 | - </set> | |
| 10 | - </option> | |
| 11 | - </component> | |
| 12 | -</project> | |
| 13 | 0 | \ No newline at end of file |
app/src/main/java/com/shunzhi/parent/ui/activity/mywebview/WebViewActivity.java
| ... | ... | @@ -119,6 +119,9 @@ public class WebViewActivity extends BaseCompatActivity { |
| 119 | 119 | binding_success2.setVisibility(View.GONE); |
| 120 | 120 | title_web.setVisibility(View.VISIBLE); |
| 121 | 121 | title_web.setText("订购中心"); |
| 122 | + LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) nesteScrollWebView.getLayoutParams(); | |
| 123 | + lp.setMargins(0, 0, 0, 0); | |
| 124 | + nesteScrollWebView.setLayoutParams(lp); | |
| 122 | 125 | |
| 123 | 126 | } else { |
| 124 | 127 | binding_success.setVisibility(View.GONE); |
| ... | ... | @@ -132,7 +135,6 @@ public class WebViewActivity extends BaseCompatActivity { |
| 132 | 135 | |
| 133 | 136 | initWebView(); |
| 134 | 137 | initWebSetting(nesteScrollWebView.getSettings()); |
| 135 | - Log.e("aaaa", url); | |
| 136 | 138 | nesteScrollWebView.loadUrl(url); |
| 137 | 139 | } |
| 138 | 140 | ... | ... |