From 9340775693c49a78b37492caa89137ff4ddd93f9 Mon Sep 17 00:00:00 2001 From: Amy Date: Wed, 25 Sep 2024 15:49:10 -0400 Subject: [PATCH] Added constraints to the layout --- .idea/deploymentTargetSelector.xml | 10 ++++++++++ .idea/gradle.xml | 3 +-- .idea/vcs.xml | 6 ++++++ app/src/main/res/layout/activity_main.xml | 17 ++++++++++++----- 4 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 .idea/deploymentTargetSelector.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..b268ef3 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ae388c2..cb865f6 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,8 +4,6 @@ diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index ed108fc..b40555f 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -10,28 +10,35 @@ android:id="@+id/displayTextView" android:layout_width="411dp" android:layout_height="wrap_content" + android:layout_marginTop="92dp" android:gravity="center" android:text="Hello World!" android:textSize="24sp" - tools:layout_editor_absoluteY="53dp" /> + app:layout_constraintTop_toTopOf="parent" + tools:layout_editor_absoluteX="0dp" />