diff options
author | Thomas <tschneider.ac@gmail.com> | 2022-09-26 17:08:00 +0200 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2022-09-26 17:08:00 +0200 |
commit | 60b48c594ab49f18a834a2d5363471e285c0bbe8 (patch) | |
tree | cbe18fa7e0b25e99126e4a2f4b71e7eb88ca31f3 /app/src/main/res/layout/activity_instance.xml | |
parent | 70c581ba2108aea383f6dea063c369159ff1023c (diff) |
cache
Diffstat (limited to 'app/src/main/res/layout/activity_instance.xml')
-rw-r--r-- | app/src/main/res/layout/activity_instance.xml | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/app/src/main/res/layout/activity_instance.xml b/app/src/main/res/layout/activity_instance.xml index 8661017bc..670d535f4 100644 --- a/app/src/main/res/layout/activity_instance.xml +++ b/app/src/main/res/layout/activity_instance.xml @@ -21,8 +21,8 @@ android:layout_height="wrap_content"> <androidx.constraintlayout.widget.ConstraintLayout - android:layout_width="match_parent" android:id="@+id/main_container" + android:layout_width="match_parent" android:layout_height="420dp" android:padding="@dimen/fab_margin" android:paddingLeft="@dimen/drawer_padding" @@ -34,12 +34,12 @@ android:layout_height="match_parent" /> <androidx.appcompat.widget.LinearLayoutCompat - android:layout_height="300dp" android:id="@+id/instance_container" android:layout_width="match_parent" - app:layout_constraintTop_toTopOf="parent" + android:layout_height="300dp" android:layout_marginTop="20dp" - android:orientation="vertical"> + android:orientation="vertical" + app:layout_constraintTop_toTopOf="parent"> <!-- Instance title --> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/instance_title" @@ -86,8 +86,6 @@ </androidx.appcompat.widget.LinearLayoutCompat> - - </androidx.appcompat.widget.LinearLayoutCompat> <androidx.appcompat.widget.LinearLayoutCompat @@ -119,13 +117,13 @@ <!-- Main Loader --> <RelativeLayout android:id="@+id/loader" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toTopOf="parent" android:layout_width="match_parent" android:layout_height="420dp" android:gravity="center" - tools:visibility="visible" - android:visibility="gone"> + android:visibility="gone" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toTopOf="parent" + tools:visibility="visible"> <ProgressBar android:layout_width="wrap_content" @@ -146,10 +144,6 @@ app:layout_constraintEnd_toEndOf="parent" /> <androidx.appcompat.widget.AppCompatButton - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/max_char_container" android:id="@+id/close" style="@style/Widget.AppCompat.Button.Colored" android:layout_width="wrap_content" @@ -160,7 +154,11 @@ android:text="@string/close" android:textAllCaps="false" android:textColor="@color/white" - android:textSize="16sp" /> + android:textSize="16sp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/max_char_container" /> </androidx.constraintlayout.widget.ConstraintLayout> </ScrollView>
\ No newline at end of file |