Layout fix

This commit is contained in:
Bipin
2021-01-06 16:07:45 +01:00
parent f5a2eabf61
commit 7dc5ce098c

View File

@@ -1,25 +1,62 @@
<?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"
<!--<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"
android:layout_height="500dp"
android:layout_width="300dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_gravity="center"
android:orientation="vertical">
android:background="@color/primaryColour">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/helpPopTitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_width="300dp"
android:layout_height="50dp"
android:text="@string/help"
android:textAlignment="center"
android:background="@color/secondaryColour"
android:paddingVertical="10dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
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:background="@color/primaryColour">
</TextView>
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"/>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>