Scrollable help

This commit is contained in:
Bipin
2021-01-06 20:16:48 +01:00
parent 7f9783aeb1
commit 115c064f11

View File

@@ -1,27 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<androidx.appcompat.widget.LinearLayoutCompat-->
<!-- xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_gravity="center"-->
<!-- android:orientation="vertical">-->
<!-- <TextView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/help"-->
<!-- android:textAlignment="center"-->
<!-- android:background="@color/secondaryColour"-->
<!-- android:paddingVertical="10dp"/>-->
<!-- -->
<!-- <TextView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="400dp"-->
<!-- android:text="@string/help_discription"-->
<!-- android:background="@color/primaryColour"/>-->
<!-- -->
<!--</androidx.appcompat.widget.LinearLayoutCompat>-->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/helpPopConst"
@@ -44,20 +21,30 @@
android:background="@color/secondaryColour"
android:paddingVertical="10dp"/>
<TextView
<ScrollView
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/helpPopTitle"
android:layout_width="280dp"
android:layout_height="380dp"
android:text="@string/help_discription"
android:textColor="@color/white"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"/>
android:layout_width="300dp"
android:layout_height="400dp">
<TextView
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/helpPopTitle"
android:layout_width="280dp"
android:layout_height="380dp"
android:text="@string/help_discription"
android:textColor="@color/white"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"/>
</ScrollView>