Skip to content

Commit

Permalink
Fix Lint error in WebView (#48)
Browse files Browse the repository at this point in the history
* Fix Lint error in WebView

* Remove unnecessary tags

---------

Co-authored-by: Leonard <[email protected]>
  • Loading branch information
Lee245 and Leonard authored Feb 28, 2024
1 parent ead8b06 commit 6c49961
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions app/src/main/res/layout/fragment_knmi_sixdayforecast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,15 @@

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:scrollbars="vertical">
android:layout_height="match_parent">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<WebView
android:id="@+id/web_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="24dp"
android:overScrollMode="never"
android:scrollbars="none"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<WebView
android:id="@+id/web_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="24dp"
android:scrollbars="none" />
</ScrollView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

0 comments on commit 6c49961

Please sign in to comment.