ui: fix scrolling in detail view

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-06 00:17:14 +05:30
parent 6a11a199ca
commit ef70aa88e1
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -22,13 +22,15 @@
type="com.wireguard.config.Config" /> type="com.wireguard.config.Config" />
</data> </data>
<androidx.constraintlayout.widget.ConstraintLayout <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/colorBackground" android:background="?attr/colorBackground"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true">
android:orientation="vertical"> <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView
android:id="@+id/tunnel_detail_card" android:id="@+id/tunnel_detail_card"
@ -149,4 +151,5 @@
app:layout_constraintTop_toBottomOf="@+id/tunnel_detail_card" app:layout_constraintTop_toBottomOf="@+id/tunnel_detail_card"
tools:ignore="UselessLeaf" /> tools:ignore="UselessLeaf" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</layout> </layout>